[
https://issues.apache.org/jira/browse/LUCENE-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand updated LUCENE-5304:
---------------------------------
Attachment: LUCENE-5304.patch
Here is a patch that exposes the SortedDocValues instance in
SingletonSortedSetDocValues and makes Solr's DocValuesFacets specialize
accumulation when a SortedSetDocValues instance extends
SingletonSortedSetDocValues.
> SingletonSortedSetDocValues should allow for getting back the wrapped instance
> ------------------------------------------------------------------------------
>
> Key: LUCENE-5304
> URL: https://issues.apache.org/jira/browse/LUCENE-5304
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Attachments: LUCENE-5304.patch
>
>
> This idea was mentioned by Robert on LUCENE-5300
> Some codecs or FieldCache impls use SingletonSortedSetDocValues when a field
> which is supposed to be multi-valued is actually single-valued. By having a
> getter on this class to get back the wrapped SortedDocValues instance, we
> could add more specialization (which often already exists, eg. Solr's
> DocValuesFacets already have a specialized impl for SortedDocValues).
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]