You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2013/06/05 16:48:24 UTC

[jira] [Commented] (LUCENE-5035) FieldCacheImpl.SortedDocValuesImpl should compress addresses to term bytes more efficiently

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

Adrien Grand commented on LUCENE-5035:
--------------------------------------

+1, patch looks good!
                
> FieldCacheImpl.SortedDocValuesImpl should compress addresses to term bytes more efficiently
> -------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-5035
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5035
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/search
>            Reporter: Robert Muir
>         Attachments: LUCENE-5035.patch
>
>
> Each ordinal in SortedDocValuesImpl has a corresponding address to find its location in the big byte[] to support lookupOrd()
> Today this uses GrowableWriter with absolute addresses.
> But it would be much better to use MonotonicAppendingLongBuffer.

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