You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2013/02/16 01:17:12 UTC

[jira] [Commented] (LUCENE-4780) MonotonicAppendingLongBuffer

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

Robert Muir commented on LUCENE-4780:
-------------------------------------

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

In LUCENE-4765, i refactored SortedBytes merging to use OrdinalMap, so if this works we can
also reduce RAM used during merging, which would be awesome. But using it in merge means that when there are 
"deleted terms" its ordinal mappings are not always strictly monotonic, but probably mostly so.

In this case we would just get some negative deviations 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