lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Pool of IndexReaders or Pool of Searchers?
Date Sun, 11 Jul 2004 05:56:13 GMT
1 should be sufficient, as IR/IS are thread-safe, I believe.

Otis

--- yahootintin.1247688@bloglines.com wrote:
> Hi,
> 
> I have multiple threads reading an index.  Should they all be using
> the same IndexReader and using a pool of IndexSearchers?  Or should
> they be
> using a pool of IndexReaders?
> 
> Basically, one reader or many?
> 
> Thanks.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 
> 


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


Mime
View raw message