You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by mattspitz <ms...@stanford.edu> on 2008/10/14 19:35:03 UTC
ThreadSafe SpellChecker?
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