gf2121 commented on code in PR #12699: URL: https://github.com/apache/lucene/pull/12699#discussion_r1391079102
########## lucene/core/src/java/org/apache/lucene/codecs/lucene90/blocktree/SegmentTermsEnum.java: ########## @@ -1190,4 +1176,65 @@ public void seekExact(long ord) { public long ord() { throw new UnsupportedOperationException(); } + + static class OutputAccumulator extends DataInput { + + /** We could have at most 10 no-empty arcs: 9 for vLong and 1 for floor data. */ + private static final int MAX_ARC = 10; Review Comment: +1, growing on demand is much more flexible! -- 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