[
https://issues.apache.org/jira/browse/LUCENE-5300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand resolved LUCENE-5300.
----------------------------------
Resolution: Fixed
Fix Version/s: 4.6
{quote}
Somewhat related: SingletonSortedSetDocValues is public, i think its used by a
few codecs (maybe also FieldCacheImpl). Maybe its fair to add a getter here to
access the wrapped SortedDocValues?
it sounds ugly/stupid but maybe could help some low-level code (like
DocValuesFaceting in solr) that already has two specializations for Sorted and
SortedSet anyway. But I'm not hung up on this and totally happy for it to stay
all hidden too.
{quote}
I think it is fair. I opened LUCENE-5304 for this.
> SORTED_SET could use SORTED encoding when the field is actually single-valued
> -----------------------------------------------------------------------------
>
> Key: LUCENE-5300
> URL: https://issues.apache.org/jira/browse/LUCENE-5300
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Fix For: 4.6
>
> Attachments: LUCENE-5300.patch, LUCENE-5300.patch
>
>
> It would be nice to detect when a SORTED_SET field is single-valued in order
> to optimize storage.
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]