[ 
https://issues.apache.org/jira/browse/LUCENE-4871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adrien Grand resolved LUCENE-4871.
----------------------------------

    Resolution: Fixed
    
> Sorter API: better compress positions, offsets and payloads in 
> SortingDocsAndPositionsEnum
> ------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-4871
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4871
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Trivial
>             Fix For: 4.3
>
>         Attachments: LUCENE-4871.patch
>
>
> SortingDocsAndPositionsEnum could easily save memory by using a 
> Lucene40TCF-like compression method for positions, offsets and payloads:
>  - delta-encode positions and startOffsets (with the previous end offset),
>  - store the length of the tokens instead of their end offset (endOffset == 
> startOffset + length),
>  - use a single bit to say whether the token has a payload.

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

Reply via email to