[
https://issues.apache.org/jira/browse/LUCENE-7686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15861145#comment-15861145
]
Michael McCandless commented on LUCENE-7686:
--------------------------------------------
OK actually the patch is OK; this suggester effectively ignores that returned
boolean since we don't use the returned result from {{TopNSearcher.search}}...
> 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]