Proper structuring of Lucene.Net usage in an ASP.NET MVC site
问题 I'm building an ASP.NET MVC site where I plan to use Lucene.Net. I've envisioned a way to structure the usage of Lucene, but not sure whether my planned architecture is OK and efficient. My Plan: On Application_Start event in Global.asax: I check for the existence of the index on the file system - if it doesn't exist, I create it and fill it with documents extracted it from the database. When new content is submitted: I create an IndexWriter , fill up a document, write to the index, and