lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd VanderVeen <...@part.net>
Subject Re: incorrect OO in lucene source?
Date Tue, 20 Apr 2004 18:50:22 GMT
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: lucene-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
>>
> 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: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
>
Grant answered this for me. Thanks.

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



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


Mime
View raw message