Directory lock error with Lucene.Net usage in an ASP.NET MVC site

后端 未结 6 2120
陌清茗
陌清茗 2021-02-13 21:29

I\'m building an ASP.NET MVC site where I want to use Lucene.Net for search. I\'ve already built a SearchController and all of its methods, but I\'m getting an error at runtime

6条回答
  •  有刺的猬
    2021-02-13 21:41

    Researching this myself it seems that the indended approach would be to use multiple physical indexes and then merge them using the IndexWriter's .addIndexesNoOptimize or .addIndexes to merge all concurrent index changes.

    Lucene documentation

提交回复
热议问题