[ 
https://issues.apache.org/jira/browse/LUCENE-10014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17400180#comment-17400180
 ] 

weizijun commented on LUCENE-10014:
-----------------------------------

[~mikemccand][~jpountz], Thank you so much! I know that [~jpountz] is working 
on compress numeric docvalues at [LUCENE-10033| 
https://issues.apache.org/jira/browse/LUCENE-10033] , I'm from the 
elasticsearch team of Alibaba, China. We are work together with elastic friends 
in TSDB feature. We have some optimization in docvalues compress, Later we will 
push a jira, Thank you!

> docvalue writeBlock gcd encode improve
> --------------------------------------
>
>                 Key: LUCENE-10014
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10014
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/codecs
>            Reporter: weizijun
>            Priority: Major
>             Fix For: main (9.0), 8.10
>
>         Attachments: LUCENE-10014.patch
>
>
> Lucene90DocValuesConsumer.writeBlock calculate bitsPerValue  as:
> {code:java}
> final int bitsPerValue = DirectWriter.unsignedBitsRequired(max - min);
> {code}
>  it can use gcd in this place as:
> {code:java}
> (max - min) / gcd
> {code}



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

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

Reply via email to