I’m wondering if there are any recommendations, best practises or top-tips for integrating a Lucene.NET based search into an ASP.NET MVC web application?
Things I’ve read (or think I’ve read) in various places include the following:
- One
IndexWriter, manyIndexReaders - When the index is updated, reset/ re-initialise the
IndexReaders
Are there any other useful tips or resources I should read before starting?
Thanks,
Kieron
Here are my tips (in no particular order):
A few gotchas from one of my previous projects were:
I would suggest looking at the source code for RavenDb as it is built on top of Lucene and uses a number of best practices.