gf2121 commented on code in PR #14390: URL: https://github.com/apache/lucene/pull/14390#discussion_r2008772414
########## lucene/core/src/java/org/apache/lucene/index/CheckIndex.java: ########## @@ -2458,6 +2469,31 @@ private static void checkTermsIntersect(Terms terms, Automaton automaton, BytesR } } + private static void checkDocIDRuns(DocIdSetIterator iterator) throws IOException { + int prevDoc = -1; + int runEnd = 0; + for (int doc = iterator.nextDoc(); Review Comment: Thank you for explanation, that sounds good enough today. -- 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