lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Kubes (JIRA)" <>
Subject [jira] Updated: (SOLR-1537) Dedupe Sharded Search Results by Shard Order or Score
Date Sun, 01 Nov 2009 01:36:59 GMT


Dennis Kubes updated SOLR-1537:

    Attachment: solr-dedupe-20091031-2.patch

Updated patch.  Had to replace the use of the TreeSet for on the fly document queuing with
a two pass HashSet and Java 5 PriorityQueue.  This was to allow comparably equal documents
(i.e. documents with the same score).

> Dedupe Sharded Search Results by Shard Order or Score
> -----------------------------------------------------
>                 Key: SOLR-1537
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 1.4, 1.5
>         Environment: All
>            Reporter: Dennis Kubes
>             Fix For: 1.4, 1.5
>         Attachments: solr-dedupe-20091031-2.patch, solr-dedupe-20091031.patch
> Allows sharded search results to dedupe results by ID based on either the order of the
shards in the shards param or by score.  Allows the result returned to be deterministic. 
If by shards then shards that appear first in the shards param have a higher precedence than
shards that appear later.  If by score then higher scores beat out lower scores.  This doesn't
allow multiple duplicates because currently SOLR only permits a single result by ID to be

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message