You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/11/02 10:58:25 UTC

[GitHub] [lucene] LuXugang opened a new pull request, #11895: count() in BooleanQuery could be early quit

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

   Since all queries are pure disjunctional, we could quit early and make the logic much simpler?


-- 
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-unsubscribe@lucene.apache.org

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


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


[GitHub] [lucene] LuXugang commented on pull request #11895: count() in BooleanQuery could be early quit

Posted by GitBox <gi...@apache.org>.
LuXugang commented on PR #11895:
URL: https://github.com/apache/lucene/pull/11895#issuecomment-1315074041

   > This makes me think that we could also enhance this logic to count queries that have a mix of SHOULD and MUST_NOT clauses, in case this is something you are interested in looking into in a follow-up.
   
   Thanks @jpountz  I would like to look into it later.


-- 
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-unsubscribe@lucene.apache.org

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


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


[GitHub] [lucene] jpountz commented on pull request #11895: count() in BooleanQuery could be early quit

Posted by GitBox <gi...@apache.org>.
jpountz commented on PR #11895:
URL: https://github.com/apache/lucene/pull/11895#issuecomment-1305558470

   This makes me think that we could also enhance this logic to count queries that have a mix of `SHOULD` and `MUST_NOT` clauses, in case this is something you are interested in looking into in a follow-up.


-- 
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-unsubscribe@lucene.apache.org

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


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


[GitHub] [lucene] LuXugang merged pull request #11895: count() in BooleanQuery could be early quit

Posted by GitBox <gi...@apache.org>.
LuXugang merged PR #11895:
URL: https://github.com/apache/lucene/pull/11895


-- 
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-unsubscribe@lucene.apache.org

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


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