jpountz opened a new issue, #12644:
URL: https://github.com/apache/lucene/issues/12644

   ### Description
   
   Counts on disjunctions could be optimized in the following case:
    - 2 clauses
    - both clauses are term queries
    - there are no deletes
   
   Then we could compute the count as `count(clause1) + count(clause2) - 
count(clause1 AND clause2)` which almost certainly runs faster.
   
   If we do that we'll probably want to update nightly benchmarks to either 
have deletes or add tasks on disjunctions of 3 terms or more to retain coverage 
on actual disjunction counts.


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