gsmiller commented on code in PR #1021: URL: https://github.com/apache/lucene/pull/1021#discussion_r920598336
########## lucene/test-framework/src/java/org/apache/lucene/tests/index/AssertingLeafReader.java: ########## @@ -1055,12 +1051,9 @@ public long cost() { @Override public long nextOrd() throws IOException { assertThread("Sorted set doc values", creationThread); - assert lastOrd != NO_MORE_ORDS; assert exists; long ord = in.nextOrd(); assert ord < valueCount; - assert ord == NO_MORE_ORDS || ord > lastOrd; - lastOrd = ord; return ord; Review Comment: Good idea. Will do. -- 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