Arnis Lapsa
Arnis Lapsa

Reputation: 47567

How to integrate NHibernate with Lucene.Net

This is getting quite annoying. Trying to integrate Lucene.Net search with NHibernate and i found only some information from year 07.

Is there a nice up to date tutorial for this? Where to start, what to download etc.?

Is there a way how to set NHibernate.Search metadata elsewhere and not on domain objects using attributes (i don't want to reference any nhibernate related stuff in my Core project)?

Upvotes: 6

Views: 2619

Answers (2)

Andrey Shchekin
Andrey Shchekin

Reputation: 21599

Is there a way how to set NHibernate.Search metadata elsewhere and not on domain objects using attributes (i don't want to reference any nhibernate related stuff in my Core project)?

Working on it, please wait (hopefully) a day or two.

Update 1: Done, submitted patch to NHSearch JIRA.

Update 2: This is now in svn trunk (discussion).

Update 3: Added small post on how to make your own mappings.

Upvotes: 3

Jan Willem B
Jan Willem B

Reputation: 3806

I wrote a short tutorial on this, http://jwbs-blog.blogspot.com/2009/03/quickstart-guide-for-nhibernatesearch.html

I have no answer on your second question. There is a book on Hibernate.Search, consider reading that book. http://www.manning.com/bernard/

Upvotes: 6

Related Questions