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

Reply via email to