Todd VanderVeen wrote:

Doug Cutting wrote:

Grant Ingersoll wrote:

The thread safety issues are on the search side usage of Analyzer, not indexing.



Primarily search, but not exclusively. IndexWriter is thread safe. One can add documents to a single IndexWriter instance from multiple threads. Tokenization will be done in parallel.


Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Can you clarify this for me? Will the tokenStream method of an Analyzer instance ever be called concurrently? I see in typical analyzer implementations a Tokenizer and TokenFilters are instantiated anew with each call and thus skirt the issue.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Grant answered this for me. Thanks.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28182



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to