You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Jim Ferenczi (Jira)" <ji...@apache.org> on 2021/03/31 11:54:00 UTC

[jira] [Created] (LUCENE-9899) Numeric DV block compression ignores the gcd when computing the number of bits required

Jim Ferenczi created LUCENE-9899:
------------------------------------

             Summary: Numeric DV block compression ignores the gcd when computing the number of bits required
                 Key: LUCENE-9899
                 URL: https://issues.apache.org/jira/browse/LUCENE-9899
             Project: Lucene - Core
          Issue Type: New Feature
            Reporter: Jim Ferenczi


When numeric doc values are splitted per block we compute the number of bits per value [from the minimum and maximum value present in the block|https://github.com/apache/lucene/blob/d5d6dc079395c47cd6d12dcce3bcfdd2c7d9dc63/lucene/core/src/java/org/apache/lucene/codecs/lucene90/Lucene90DocValuesConsumer.java#L390]. However, the greatest common divisor is not taken into account so the number is overvalued for cases where it is greater than 1.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org