lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <ysee...@gmail.com>
Subject Re: MultiReader and MultiSearcher
Date Tue, 11 Apr 2006 19:49:43 GMT
On 4/11/06, Peter Keegan <peterlkeegan@gmail.com> wrote:
> Does this mean that MultiReader doesn't merge the search results and sort
> the results as if there was only one index?

Correct, it doesn't.  It supports the lower level primitives like
TermEnum and TermDocs that searches use to run.  A term query is run
exactly the same way on a MultiReader as it is on a single segment
IndexReader.  In fact, if you open up an IndexReader on an index with
multiple segments, it constructs a MultiReader under-the-covers.

-Yonik
http://incubator.apache.org/solr Solr, The Open Source Lucene Search Server

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


Mime
View raw message