You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2015/06/29 15:46:04 UTC
[jira] [Updated] (LUCENE-6633) Remove DuplicateFilter
[ https://issues.apache.org/jira/browse/LUCENE-6633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrien Grand updated LUCENE-6633:
---------------------------------
Attachment: LUCENE-6633.patch
Here is a patch for trunk. In 5.x this filter will only be marked as deprecated.
> Remove DuplicateFilter
> ----------------------
>
> Key: LUCENE-6633
> URL: https://issues.apache.org/jira/browse/LUCENE-6633
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Fix For: 5.3
>
> Attachments: LUCENE-6633.patch
>
>
> DuplicateFilter is a filter which aims at only exposing a single document per unique field value. It has some flaws, for instance it only works if you have a single leaf and we now have a better way to handle this use-case with DiversifiedTopDocsCollector. So I suggest that we just remove it and recommend users to use DiversifiedTopDocsCollector instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org