Lucene.Net Best Practices

Elias Haileselassie picture Elias Haileselassie · Jun 16, 2009 · Viewed 8.5k times · Source

What are the best practices in using Lucene.Net? or where can I find a good lucene.net usage sample?

Answer

Razzie picture Razzie · Jun 16, 2009

If you're going to work with Lucene, I'd buy a good book that covers it from A to Z. Lucene has a very steep learning curve (in my opinion). It's not only knowing how to search your that's important - it's also about indexing it. Doing a basic search is easy, but creating an index that consists of millions of records of data and still being able to do a lightning fast search over it is possible but pretty hard. There's no tutorial that learns you that.

I'd recommend Lucene in Action, Second Edition by Michael McCandless, Erik Hatcher, and Otis Gospodnetić. Though it is written for Lucene and not Lucene.NET, that shouldn't be a problem as the termonology and api's are basically the same.

However, if you're just going to give it a quick try, you could read this site. The name says it all :-)