jpountz opened a new pull request, #961:
URL: https://github.com/apache/lucene/pull/961

   As suggested by @zhaih on #950, we could support more cases in
   `BooleanWeight#count`. This PR adds support for these cases specifically:
    - Pure disjunctions where only one clause has a non-zero count.
    - Pure disjunctions where one clause matches all docs.
    - Negations where positive clauses match all docs (pure negation).
    - Negations where positive clauses match no docs.
    - Negations where negative clauses match no docs.
    - Negations where negative clauses match all docs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to