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


##########
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:
   I wanted to do this but this gives a compile error that fails the build, I'm 
unsure how to do it otherwise
   
   ```
   1. ERROR in 
lucene/core/src/java/org/apache/lucene/codecs/lucene101/Lucene101PostingsReader.java
 (at line 1066)
           assert BLOCK_SIZE == 2 * Long.SIZE;
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Comparing identical expressions
   ```



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