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

Commit Tag Bot commented on LUCENE-4871:
----------------------------------------

[branch_4x commit] Adrien Grand
http://svn.apache.org/viewvc?view=revision&revision=1459792

LUCENE-4871: Better compress positions, offsets and payloads in 
SortingDocsAndPositionsEnum (merged from r1459790).


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

Reply via email to