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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to