benwtrent commented on code in PR #11860: URL: https://github.com/apache/lucene/pull/11860#discussion_r1011963036
########## lucene/core/src/java/org/apache/lucene/util/packed/PackedInts.java: ########## @@ -416,6 +416,60 @@ public static interface ReaderIterator { int ord(); } + /** + * Resettable iterator interface, to decode previously saved PackedInts. Useful when multiple + * packed int blocks are stored in the same stream + */ + public static interface ResettableReaderIterator { Review Comment: My latest commit puts a `reset` function on the packet ints interface and reader. -- 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