[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 Absolutely, updated patch attached. > 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, 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[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-on-6785.patch Here is an alternate patch applied after LUCENE-6785. > 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-on-6785.patch, LUCENE-6787.patch, > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org