You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Sascha Fahl <sa...@googlemail.com> on 2008/06/23 14:27:58 UTC

Requesting MultipleIndeces

Hi,
I have around 10 different indexfiles to request. Is it better to do  
this via one request to one MultiReader or is better to request the 10  
indeces one after another?
Especially for doing some filtering on the result with a HitCollector  
it might by easier to use the multi request approch I think.

  

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


Re: Requesting MultipleIndeces

Posted by Konstantyn Smirnov <in...@yahoo.com>.
if you have a good hardware with tons of RAM, you can use
ParallelMultiSearcher, which looks-up in all indieces simulateneously.

if you are short on that, you must search in one index at a time, using
MultiSearcher.
-- 
View this message in context: http://www.nabble.com/Requesting-MultipleIndeces-tp18068306p18108045.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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