[
https://issues.apache.org/jira/browse/LUCENE-5782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14039787#comment-14039787
]
Adrien Grand commented on LUCENE-5782:
--------------------------------------
I did it this way to keep the raw ordinal map build decoupled from the segment
number remapping, for simplicity. Let me try to see if I can keep it simple
with a single class.
> Improve OrdinalMap compression by sorting the supplied terms enums
> ------------------------------------------------------------------
>
> Key: LUCENE-5782
> URL: https://issues.apache.org/jira/browse/LUCENE-5782
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Fix For: 5.0, 4.10
>
> Attachments: LUCENE-5782.patch
>
>
> As mentionned in LUCENE-5780, OrdinalMaps might have much better compression
> when the terms enums are supplied sorted by descending cardinality. When it
> is not the case, we could sort the enums and re-map segment indices on top of
> it.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]