How do you implement the search capabilities of Lucene.net in asp.net? If possible, please include links or example code.
Asked
Active
Viewed 1.4k times
3 Answers
23
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.

dlras2
- 8,416
- 7
- 51
- 90

superlogical
- 14,332
- 9
- 66
- 76
-
FYI to those coming across this Q&A: The latest release of Lucene.NET (3.0.3) was back in 2012 and all these links point to articles and resources that go back as far as 2009. – GrayDwarf Feb 28 '18 at 14:17
-
As of 2/28/2018, there is a beta version of Lucene.Net available that is up to version 4.8.0. You can also find many more supporting packages through NuGet. More info on the latest package here: https://www.nuget.org/packages/Lucene.Net – GrayDwarf Feb 28 '18 at 14:30
13
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...

bob
- 6,465
- 1
- 30
- 26
8
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

friism
- 19,068
- 5
- 80
- 116