Hibernate Search with index in a different database -


I have a database that is read only (I have only access to view), but for this I find this database Need to be indexed. In this table, the DAO layer is now using normal DAO approach with Hibernate + JPA. Is it possible to add hibernate search to this view and store the index in a different database?

I know that I can lose the ability of post-indexing. But that's fine, I'll do the whole indexing manually.

Configuration: Spring 2.5 + Hibernate 3

(Or should I use Comps or Licens directly?)

Please advise Roy

Hibernate uses Lucene under both cover and compass cover, and Lucene can store it in various forms Data, in which memory, on disk, or in the database, if you choose to store it in a database, no reason At the same time that you need the same database, as you do indexing.

However, if there is no solid requirement for indexing in a database, then local disk-based storage will be easy, and probably will be faster.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -