lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: is multi-threads searcher feasible idea to speed up?
Date Tue, 28 Sep 2010 15:13:42 GMT
On Tue, Sep 28, 2010 at 11:07 AM, Uwe Schindler <uwe@thetaphi.de> wrote:
>> Note that one simple way to do this is use ParallelMultiSearcher: it uses
> one
>> thread per segment in your index.
>
> One thread per global IndexReader/IndexSearcher. But you can still use
> getSequentialSubReaders, wrap each with IndexSearcher and pass to
> ParallelMultiSearcher ctor.

Ahh thanks for the correction ... you're right, the caller must break
out the sub readers, wrap them in IndexSearcher and pass them to
ParallelMultiSearcher.

Mike

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


Mime
View raw message