iverase opened a new pull request, #16070: URL: https://github.com/apache/lucene/pull/16070
In #16061, score estimation depends on a hardcoded value that represents the skipper block size. That feels wrong and we should be able to get the size of the block we might need to inspect for the skipper itself. This PR proposes that, in the case we detect we might need to inspect a skipper, we take the size of the skipper for cost estimation. In theory, it means that we might need to read one extra skipper block but it should be ok as the skipper should be already in the page cache so it should be fast. In addition, I am extracting the logic in the SortedSkipperScorerSupplier so it can be easily reused. -- 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]
