Re: SpellChecker locks folder

2009-05-01 Thread Chris Hostetter
: In the source of SpellChecker lines 352-353 I see that after the indexing is : done the index is reopened: : searcher.close(); : searcher = new IndexSearcher(this.spellIndex); : : Why does that second line exist at all? when you instantiate a SpellChecker object, it opens a Searcher for reuse

SpellChecker locks folder

2009-04-22 Thread John Cherouvim
Hello After I call the SpellChecker.indexDictionary method the directory which contained the lucene index is locked. I cannot rename of delete the folder (windows). In the source of SpellChecker lines 352-353 I see that after the indexing is done the index is reopened: searcher.close(); sea