NHibernate. Search with Lucene.NET without using DB?

Is it possible to use NHibernate.Search with only lucenes index without a database? As I would like to store all data in my lucenes index only, but I really like the functions in NHibernate.Search.

0


source to share


1 answer


Not really, as they are closely related. The point of NHSearch / Lucene.NET / NHibernate integration is that you can do full text searches, but the results returned are domain objects, i.e. from the database.

Thus, without storing them in the database, NHSearch will not be able to inflate the domain objects found in the Lucence index.



Another approach would be to browse one of the document databases like Raven.

+1


source







All Articles