lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-4527) CompressingStoredFieldsFormat: encode numStoredFields more efficiently
Date Sun, 04 Nov 2012 23:52:11 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-4527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Adrien Grand updated LUCENE-4527:
---------------------------------

    Attachment: LUCENE-4527.patch

New patch without the minValue+delta trick. Instead it uses the exact same trick as ForUtil:
bitsRequired == 0 => all elements have the same value, which is the next VInt.
                
> CompressingStoredFieldsFormat: encode numStoredFields more efficiently
> ----------------------------------------------------------------------
>
>                 Key: LUCENE-4527
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4527
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>             Fix For: 4.1
>
>         Attachments: LUCENE-4527.patch, LUCENE-4527.patch
>
>
> Another interesting idea from Robert: many applications have a schema and all documents
are likely to have the same number of stored fields. We could save space by using packed ints
and the same kind of optimization as {{ForUtil}} (requiring only one VInt if all values are
equal).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message