You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Terry Smith (JIRA)" <ji...@apache.org> on 2015/09/08 21:47:45 UTC

[jira] [Updated] (LUCENE-6787) BooleanQuery should be able to drop duplicate non-scoring clauses

     [ https://issues.apache.org/jira/browse/LUCENE-6787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Terry Smith updated LUCENE-6787:
--------------------------------
    Attachment: LUCENE-6787.patch

Here is a patch based on [~jpountz]'s suggestion of putting this optimization in BooleanQuery.rewrite().


> BooleanQuery should be able to drop duplicate non-scoring clauses
> -----------------------------------------------------------------
>
>                 Key: LUCENE-6787
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6787
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: Trunk
>            Reporter: Terry Smith
>            Priority: Minor
>         Attachments: LUCENE-6787.patch
>
>
> Pulling out of the discussion on LUCENE-6305.
> BooleanQuery could drop duplicate non-scoring (MUST_NOT, FILTER) clauses.



--
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