jpountz commented on code in PR #14390:
URL: https://github.com/apache/lucene/pull/14390#discussion_r2010017533


##########
lucene/core/src/java/org/apache/lucene/codecs/lucene101/Lucene101PostingsReader.java:
##########
@@ -1059,6 +1059,29 @@ private void bufferIntoBitSet(int start, int end, 
FixedBitSet bitSet, int offset
       }
     }
 
+    @Override
+    public int docIDRunEnd() throws IOException {
+      // Note: this assumes that BLOCK_SIZE == 128, this bit of the code would 
need to be changed if

Review Comment:
   Thanks, I ended up using another trick that looked a bit more natural by 
extracting the block size to a variable.



-- 
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

Reply via email to