[
https://issues.apache.org/jira/browse/LUCENE-9899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17312376#comment-17312376
]
Michael McCandless commented on LUCENE-9899:
--------------------------------------------
Whoa, good catch! I wonder in practice how much this hurts "typical"
compression of numeric DV fields.
> 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
> Priority: Major
> Attachments: LUCENE-9899.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]