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

Adrien Grand commented on LUCENE-4780:
--------------------------------------

bq. So this works even if its "mostly monotonic" but not always?

Even if not at all. The test case even tests it with completely random longs.

bq. In this case we would just get some negative deviations right?

Right.
                
> MonotonicAppendingLongBuffer
> ----------------------------
>
>                 Key: LUCENE-4780
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4780
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>             Fix For: 4.2
>
>         Attachments: LUCENE-4780.patch
>
>
> IndexWriter uses AppendingLongBuffer in several places, and in a few of them 
> the mapping is monotonically increasing so we could save additional space by 
> only encoding the delta from a linear projection.

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