gf2121 opened a new pull request, #14244: URL: https://github.com/apache/lucene/pull/14244
This patch tries to introduce additional relation check to shortcut visiting within BKD leaves. This helps queries that hit few docs like PointInSetQuery or narrow RangeQueries on high-cardinality fields, without too much overhead to many-hits queries since their bottleneck is not visiting edge leaves. The goal that visits less points can be achieved by reducing `maxPointsInLeafNode` as well. This patch mainly aims to optimize default config and help cases that need many-hits queries and few-hits queries on the same format. wikimediumall: ``` TaskQPS baseline StdDevQPS my_modified_version StdDev Pct diff p-value IntNRQ 66.70 (3.8%) 65.73 (3.5%) -1.5% ( -8% - 6%) 0.215 TermDayOfYearSort 83.39 (6.3%) 82.40 (7.6%) -1.2% ( -14% - 13%) 0.591 FilteredIntNRQ 64.46 (3.7%) 63.90 (4.9%) -0.9% ( -9% - 8%) 0.522 CountFilteredIntNRQ 38.03 (2.7%) 37.94 (3.9%) -0.2% ( -6% - 6%) 0.821 TermDTSort 84.62 (3.4%) 85.39 (3.8%) 0.9% ( -6% - 8%) 0.431 IntSet 248.07 (3.9%) 277.50 (4.9%) 11.9% ( 2% - 21%) 0.000 ``` -- 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 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