kkewwei commented on PR #16089: URL: https://github.com/apache/lucene/pull/16089#issuecomment-4687498759
Each query yields at most two CELL_CROSSES_QUERY leaf node, while each enforces a default document limit of 512. This yields an upper bound estimate of (512/2) × 2 documents. Additionally, the estimation logic has been optimized to boost the precision of CELL_CROSSES_QUERY calculations https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/index/PointValues.java#L468. For range query—which typically match substantial volumes of data—the `cost` estimation delivers high accuracy in most real-world cases. -- 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]
