[
https://issues.apache.org/jira/browse/LUCENE-5782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14039785#comment-14039785
]
Robert Muir commented on LUCENE-5782:
-------------------------------------
Well in the patch, OrdinalMap is split into a hierarchy of OrdinalMap and
RemappedOrdinalMap.
RemappedOrdinalMap extends OrdinalMap, but is a delegator taking the "raw"
OrdinalMap, and just modifies the behavior of two one-line methods.
Why have this class hierarchy? Why not just have one class like before?
> 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]