[ 
https://issues.apache.org/jira/browse/LUCENE-7686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15861139#comment-15861139
 ] 

Michael McCandless commented on LUCENE-7686:
--------------------------------------------

Hmm the patch is not quite right; I need to fix the 
{{TopNSearcher.acceptResult}} to return false in the duplicate case ... I'll 
iterate some more.

> NRT suggester should have option to filter out duplicates
> ---------------------------------------------------------
>
>                 Key: LUCENE-7686
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7686
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: master (7.0), 6.5
>
>         Attachments: LUCENE-7686.patch
>
>
> Some of the other suggesters have this ability, and it's quite simple to add 
> it to the NRT suggester as long as the thing we are filtering on is the 
> suggest key itself, not e.g. another stored field from the document.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to