[ 
https://issues.apache.org/jira/browse/SOLR-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774122#action_12774122
 ] 

Dennis Kubes commented on SOLR-1537:
------------------------------------

That is correct.  Dupes is when more than one shard returns a values for the 
same uniqueKey.  Removal of dupes is by uniqueKey deterministically by either 
order of shards or by highest score.  Before there was no way to determine 
which dupe would show up because it was based on whichever shard returned first 
from the query broadcast to multiple shards.  In other words the fastest 
responding shard would give the first uniqueKey value and the rest with that 
uniqueKey would be ignored.  Fastest though could change between query requests.

> Dedupe Sharded Search Results by Shard Order or Score
> -----------------------------------------------------
>
>                 Key: SOLR-1537
>                 URL: https://issues.apache.org/jira/browse/SOLR-1537
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 1.4, 1.5
>         Environment: All
>            Reporter: Dennis Kubes
>             Fix For: 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 returned.

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

Reply via email to