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] [Commented] (LUCENE-4780) MonotonicAppendingLongBuffer
Date Sat, 16 Feb 2013 00:23:12 GMT

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message