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

Adrien Grand commented on LUCENE-5084:
--------------------------------------

Thanks for opening this issue, Paul! Since Elias-Fano encoding encodes data on 
fixed numbers of bits, you might be interested in using PackedInts.getEncoder 
and PackedInts.getDecoder which return encoders/decoders able to efficiently 
bulk-encode/decode sequences of packed integers. They support both byte[] and 
long[] as an underlying storage.
                
> EliasFanoDocIdSet
> -----------------
>
>                 Key: LUCENE-5084
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5084
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Paul Elschot
>            Priority: Minor
>         Attachments: LUCENE-5084.patch
>
>
> DocIdSet in Elias-Fano encoding

--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to