What are the effects if you supply the same reader to IndexSearcher:s?

19 feb 2007 kl. 16.03 skrev dmitri:


I use
-------------
searcher = new IndexSearcher(indexLocation);
-------------

So readers are created under the hood.

----
dmitri


karl wettin-3 wrote:


18 feb 2007 kl. 22.52 skrev dmitri:

With org.apache.lucene.store.MMapDirectory throughput is better but
I still
have to create multiple IndexSearcher instances to have 100% CPU
utilization.

With multiple IndexSearchers search times are better under
multithreaded
load.

concurrent      1 searcher           5 searchers       10 searchers
threads
1               180                  177               167
100             4887                 4056              3775

Are you using a single or multiple IndexReaders?

-- karl

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




-- View this message in context: http://www.nabble.com/IndexSearcher- on-multi-core-CPU-machine-tf3249889.html#a9043584
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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



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

Reply via email to