vsop-479 opened a new pull request, #13253: URL: https://github.com/apache/lucene/pull/13253
In `SegmentTermsEnum.seekExact` and `SegmentTermsEnumFrame.seekCeil`, if we seek a less target after seeking a greater target, we set `nextEnt` to -1 in `SegmentTermsEnumFrame.rewind`. Which result in `Force reload` a loaded block. I think we could just set `nextEnt` to 0 to let seek from start, and temporarily set `entCount` to last `nextEnt` to reduce seeking range, and reset `suffixesReader` and `suffixLengthsReader` 's position. But don't need to reload the block again. -- 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