问题
How do you implement the search capabilities of Lucene.net in asp.net? If possible, please include links or example code.
回答1:
I think mojoPortal (ASP.NET CMS) uses Lucene.NET.
Another nice example, cuyahoga, makes also use of NHibernate.
You can take a look at their source...
extra codeproject link
回答2:
There is a excellent blog series here:
- Lucene.NET
- Introduction to Lucene
- Indexing basics
- Search basics
- Alternatives ( did you mean …)
- Faceted search / Drill down
- Class reference
I have also found another project called SimpleLucene which you can use to maintain your lucene indexes whenever you need to update or delete a document.
回答3:
Be sure to check out LINQ to Lucene. It's not feature complete, but it does make getting started a lot easier: http://www.codeplex.com/linqtolucene
来源:https://stackoverflow.com/questions/339740/looking-for-an-example-of-using-lucene-net-with-asp-net