costin commented on code in PR #16160:
URL: https://github.com/apache/lucene/pull/16160#discussion_r3416807543


##########
lucene/core/src/java/org/apache/lucene/codecs/lucene90/Lucene90DocValuesProducer.java:
##########
@@ -480,6 +480,59 @@ static void rangeIntoBitSet(
         values, fromDoc, toDoc, minValue, maxValue, bitSet, offset);
   }
 
+  private static void rangeGcdDeltaIntoBitSet(

Review Comment:
   Agreed, added Javadoc on rangeGcdDeltaIntoBitSet describing the [encodedMin, 
encodedMax] = [ceil((min - delta) / mul), floor((max - delta) / mul)] mapping 
and the open-bound saturation behaviour.



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