Tuesday, November 06, 2012

Lucene.Net "Full-Text Search for Your Intranet or Website using 37 Lines of Code" article updated for 3 & 4 (Lucene.Net 3 and .Net 4)

CodeProject - DotLucene: Full-Text Search for Your Intranet or Website using 37 Lines of Code [Updated]

image

Update

November 6, 2012: The project is now working with Lucene.Net 3.0 and .NET Framework 4.0. Includes Visual Studio 2010 solution. 

Lucene.Net: Excellent Full-Text Search Engine

Can there be a full-text search coded on 37 lines? Well, I am going to cheat a bit and use Lucene.Net for the dirty work. Lucene.Net is a .NET port of Jakarta Lucene search engine. Here is a quick list of its features:

  • It can be used in ASP.NET, Win Forms or console applications.
  • Very good performance.
  • Ranked search results.
  • Search query highlighting in results.
  • Searches structured and unstructured data.
  • Metadata searching (query by date, search custom fields...).
  • Index size approximately 30% of the indexed text.
  • Can also store full indexed documents.
  • Pure managed .NET.
  • Very friendly licensing (Apache Software License 2.0).
  • Localizable (support for Brazilian, Czech, Chinese, Dutch, English, French, Japanese, Korean and Russian included).
  • Extensible (source code included).

..."

I blogged about this 1.79 million years ago (ok, 7 years ago, but that's close to 1.79M in Net years...), DotLucene: Full-Text Search for Your Intranet or Website using 37 Lines of Code, so when I saw it get an update I thought a shout-out was warranted.

This also highlights the staying power of Lucene...

 

Related Past Post XRef:
DotLucene: Full-Text Search for Your Intranet or Website using 37 Lines of Code

No comments: