FAQ
I was wondering if the Lucene SpellChecker class was threadsafe,
specifically, indexDictionary().

Such that:

for (int i = 0; i < numReaders; i++) {
//spawn new thread to run:
spellchecker.indexDictionary(new LuceneDictionary(readers[i],
myField));
}

Would work.

Thanks,
Matt
--
View this message in context: http://www.nabble.com/ThreadSafe-SpellChecker--tp19978466p19978466.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupjava-user @
categorieslucene
postedOct 14, '08 at 5:35p
activeOct 14, '08 at 5:35p
posts1
users1
websitelucene.apache.org

1 user in discussion

Mattspitz: 1 post

People

Translate

site design / logo © 2022 Grokbase