[
https://issues.apache.org/jira/browse/LUCENE-2189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895283#action_12895283
]
Michael McCandless commented on LUCENE-2189:
--------------------------------------------
It'd be best if the interface to Simple9/16 (and in general any variable sized
int block encoder that we can tap into as a codec) were an incremental one.
EG I could instantiate the encoder, then call .add(int value) to add a new
value, which'd return maybe a boolean indicating that a new output block has
been flushed/created as a result of adding that value.
I'm trying to make a simple-to-reuse variable sized int block codec where we
could just drop in Simple9/16/etc, and this incremental API would work well for
this.
> Simple9 (de)compression
> -----------------------
>
> Key: LUCENE-2189
> URL: https://issues.apache.org/jira/browse/LUCENE-2189
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Index
> Reporter: Paul Elschot
> Priority: Minor
> Attachments: LUCENE-2189a.patch, LUCENE-2189a.patch,
> Simple16Codec.java
>
>
> Simple9 is an alternative for VInt.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]