[
https://issues.apache.org/jira/browse/LUCENE-7081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15189249#comment-15189249
]
ASF subversion and git services commented on LUCENE-7081:
---------------------------------------------------------
Commit 10871cfb31464947e95042a91ab9400faa1f9a81 in lucene-solr's branch
refs/heads/branch_6_0 from [~rcmuir]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=10871cf ]
LUCENE-7081: prefix-compress compressible fixed-width data (like
InetAddress/BigInteger)
> Docvalues terms dict should sometimes prefix-compress fixed-length data.
> ------------------------------------------------------------------------
>
> Key: LUCENE-7081
> URL: https://issues.apache.org/jira/browse/LUCENE-7081
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Robert Muir
> Fix For: master, 6.0
>
> Attachments: LUCENE-7081.patch
>
>
> For Sorted/SortedSet types, we encode ordinals and a term dictionary (similar
> to old lucene 3 term dictionary).
> Originally we had no prefix compression, so we "save space" in the
> fixed-width case by avoiding addressing, we can just use multiplication:
> https://github.com/apache/lucene-solr/blob/master/lucene/core/src/java/org/apache/lucene/codecs/lucene54/Lucene54DocValuesConsumer.java#L423-L425
>
> But it means no compression whatsoever of the actual bytes, even if values
> are enormous, I don't think its necessarily a good tradeoff. The lack of
> prefix compression can become much more magnified now that we have fixed
> width 128-bit point types in the sandbox...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]