jpountz opened a new pull request, #14750: URL: https://github.com/apache/lucene/pull/14750
We often need to divide the doc ID space into sub windows, but this is prone to integer overflows if the size of the window is greater than `Integer.MAX_VALUE - windowStart`. This adds `MathUtil#unsignedMin` to make these overflows a bit easier to manage. -- 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