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/03/22 16:09:16 UTC

[jira] [Resolved] (LUCENE-4871) Sorter API: better compress positions, offsets and payloads in SortingDocsAndPositionsEnum

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