lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Thread safety question
Date Tue, 25 Oct 2005 20:05:43 GMT
Right.... when you're searching or reading an index, there is no need  
for the client to be concerned with synchronization at all.

     Erik


On 25 Oct 2005, at 13:19, Sharma, Siddharth wrote:

> Hi
> I have an instance (each) of IndexSearcher and StandardAnalyzer  
> housed in a
> Singleton and I intend to use this one single instance (of Searcher  
> and
> Analyzer) for multiple concurrent search requests.
> I vaguely remember reading that I (as a client) do not have to  
> synchronize.
> Lucene internals takes care of it.
> Is this true?
> Thx
> Sid
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>


---------------------------------------------------------------------
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