jpountz commented on a change in pull request #746: LUCENE-8885: Optimise BKD reader by exploiting cardinality information stored on leaves URL: https://github.com/apache/lucene-solr/pull/746#discussion_r298797828
########## File path: lucene/core/src/java/org/apache/lucene/util/bkd/BKDReader.java ########## @@ -780,4 +779,51 @@ public int getDocCount() { public boolean isLeafNode(int nodeID) { return nodeID >= leafNodeOffset; } + + protected static class BKDReaderDocIDSetIterator extends DocIdSetIterator { + + private int idx; + private int length; + private int offset; + private int docID; + int[] docIDs; Review comment: make it final? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org