0

I am trying to implement Lucene search functionality in our solution. The way we opted to go about this is by overriding the database crawler functionality instead of the more orthodox indexwriter/reader approach.

It's working fine but trying to implement the spellchecker module generates the following exception.

 System.InvalidOperationException: Lock@C:\Windows\TEMP\lucene-df395a60eeb827dc92350de6e4528673-write.lock# is not locked
 Sitecore.Data.Indexing.FSLock.Release() +198
 Lucene.Net.Index.IndexReader.Unlock(Directory directory) +26
 SpellChecker.Net.Search.Spell.SpellChecker.ClearIndex() +15

I have tried running the spellchecker on a separate none-sitecore project and it works fine.

I'm referring to this article for guidance

Zoidberg
  • 352
  • 1
  • 6
  • 18

0 Answers0