lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattspitz <msp...@stanford.edu>
Subject ThreadSafe SpellChecker?
Date Tue, 14 Oct 2008 17:35:03 GMT

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


Mime
View raw message