bhabegger commented on code in PR #2722: URL: https://github.com/apache/jackrabbit-oak/pull/2722#discussion_r2763722572
########## oak-core/src/main/java/org/apache/jackrabbit/oak/query/QueryImpl.java: ########## Review Comment: Concerning the broken test. I've try to look into this a bit deeper. In the original case, as there was a limit of 1 so the best cost of test-index1 up around the minimal cost of test-index3 with the latter still bigger than the former but then passing through this if. Currently, dropping the limit all indices are evaluated as their minCost is definitely below the bestCost. So, I wondering, is the scenario that lead to this situation still valid ? If so, what case would that be and how to simulate it ? -- 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]
