gf2121 commented on code in PR #13149: URL: https://github.com/apache/lucene/pull/13149#discussion_r1527917667
########## lucene/core/src/java/org/apache/lucene/search/PointRangeQuery.java: ########## @@ -185,6 +186,13 @@ public void visit(DocIdSetIterator iterator) throws IOException { adder.add(iterator); } + @Override + public void visit(IntsRef ref) { + for (int i = ref.offset; i < ref.offset + ref.length; i++) { Review Comment: Can we delegate this to `BulkAdder` and take advantage of `System#arraycopy` in `BufferAdder` ? -- 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