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

后端 未结 6 2205
陌清茗
陌清茗 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:58

    Seems to be a dead-lock on lucene.

    If supposedly NO index update into the collection,
    simply remove this lock file C:\Users\Username\Desktop\SiteSolution\Site\lucene\write.lock.

    After that re-run the index writing.

提交回复
热议问题