easyice opened a new pull request, #16253: URL: https://github.com/apache/lucene/pull/16253
1. **The fix**. `numericValues` / `sortedNumericValues` is the same instance as disi, so a preceding `matches()` call may have moved it beyond blockStart. Adjust the starting point to keep `rangeIntoBitSet`'s `advanceExact` calls forward-only. 2. **Testing**. This bug went uncaught because the mock `NumericDocValues` / `SortedNumericDocValues` did not enforce the forward-only iteration contract, so we wrap them in `AssertingLeafReader.AssertingNumericDocValues` / `AssertingSortedNumericDocValues` -- 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]
