lucene-dev mailing list archives

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


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:
>             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

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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message