I am using SimpleLucene and Lucene.NET for search in my ASP.NET Webforms application. Our application is a simple Q and A site and I decided to use Lucene to do dedicated search for questions. My problem is that everytime new question gets added to the database, I need to re-build Lucene index. What is the best way to do it? My understanding is that while index is getting re-built, Lucene search will be non-functional. When site will have millions of questions re-building of index may take long time. What is the best solution?
I am using SimpleLucene and Lucene.NET for search in my ASP.NET Webforms application. Our
Share
I got it working by creating a task and adding it to the queue as per example on SimpleLucene site.