On Fri, Jun 10, 2011 at 1:48 PM, Andrzej Bialecki <[email protected]> wrote:
> On 6/10/11 6:27 PM, Michael McCandless wrote:
>>
>> I'm actually working on something like this, basically a utility
>> method to merge N TopDocs into 1.  I want to do this for grouping as
>> well to make it easy to do grouping across shards.
>
> Mike,
>
> The straightforward merge that is used in Solr suffers from incomparable
> scores (due to the lack of global IDF). See my slides from the Buzzwords.
> Since we can handle global IDF in local searchers more easily that in Solr
> then we can reuse that DfCache trick from MultiSearcher.

This is cool stuff Andrzej!!

But, my patch (LUCENE-3191) is aiming for the lower-level problem of
just the mechanics of merging multiple TopDocs.... ie, something
"above" will have to handle "properly" setting scores of the incoming
TopDocs (if in fact the search sorts by score).

Mike McCandless

http://blog.mikemccandless.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to