Re: Pool of IndexReaders or Pool of Searchers?

2004-07-11 Thread Anson Lau
Hi, When I did some load testing on a lucene powered search app, using a pool of index searchers doesn't give me any more search per second than just using a singleton index searcher. Anson Quoting [EMAIL PROTECTED]: Hi, I have multiple threads reading an index. Should they all be using

Pool of IndexReaders or Pool of Searchers?

2004-07-10 Thread yahootintin . 1247688
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. -

Re: Pool of IndexReaders or Pool of Searchers?

2004-07-10 Thread Otis Gospodnetic
1 should be sufficient, as IR/IS are thread-safe, I believe. Otis --- [EMAIL PROTECTED] 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,