Examples of using Lucene.NET in an ASP.NET application

Posted by ben 18. March 2010 19:23

I'm currently developing an application using a LINQ to SQL repository. However, it is my intention to swap this out for EF 4.0 (once I have time to learn it). The main reason for doing this is that I don't want to tie my application to using MS SQL and will probably release versions for both MySQL and MSSQL.

When it comes to indexing and searching, I therefore can't rely on Full Text Searching in MS SQL. This is what lead me to looking at Lucene.NET. Lucene.Net is a source code, class-per-class, API-per-API and algorithmatic port of the Java Lucene search engine to the C# and .NET platform utilizing Microsoft .NET Framework. You can find out more information at http://lucene.apache.org/lucene.net/.

One of the best implementations of Lucene.NET is in mojoPortal. However, this is probably quite a complex example to get started so I recommend the following articles:

http://ifdefined.com/blog/post/Full-Text-Search-in-ASPNET-using-LuceneNET.aspx

http://www.devatwork.nl/articles/lucenenet/introduction-to-lucenenet-lucenenet/

http://www.mojoportal.com/site-search-overview.aspx

http://www.aspfree.com/c/a/BrainDump/Working-with-Lucene-dot-Net/

Tags:
Categories ASP.NET | Data Access

blog comments powered by Disqus