[ https://issues.apache.org/jira/browse/LUCENE-6787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14735625#comment-14735625 ]
Adrien Grand commented on LUCENE-6787: -------------------------------------- The patch looks good to me. Maybe we could just create the HashSet all the time to keep the logic as simple as possible? > 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