Lyon-NEU commented on code in PR #15672:
URL: https://github.com/apache/lucene/pull/15672#discussion_r2882388846


##########
lucene/core/src/java/org/apache/lucene/codecs/lucene104/Lucene104PostingsWriter.java:
##########
@@ -483,7 +483,7 @@ private void flushDocBlock(boolean finishTerm) throws 
IOException {
       level0FreqNormAccumulator.clear();
     }
 
-    if ((docCount & LEVEL1_MASK) == 0) { // true every 32 blocks (4,096 docs)
+    if ((docCount & LEVEL1_MASK) == 0) { // true every 32 blocks (8,192 docs)

Review Comment:
   Hi, I have just started reading the source code, so now I cannot find other 
comments that need to be changed. Maybe we could write   BLOCK_SIZE*LEVEL1_NUM 
instead?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to