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

   This fixes two issues:
   - SortedSkipperScorerSupplier.cost() could overestimate its value if the 
lower value of a range didn't align with a skipper block boundary.  We only 
need to check the upper value for alignment, as if the lower value is not 
aligned the read cost will be lower than the calculation.
   - Tests for this were using the number of live docs to calculate the 
expected value but we also need to take into account docs added and then 
deleted.
   
   We also add some explicit tests for the cost calculation for various range 
and skip block configurations.
   


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