[
https://issues.apache.org/jira/browse/SOLR-7878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16049342#comment-16049342
]
Hoss Man commented on SOLR-7878:
--------------------------------
I'm not to familar with the code in question but...
# IIUC you're suggesting a (cached) wrapper around SortedNumericDocValues that
would require converting at least a couple
numeric->(legacy-numeric)byte->numeric conversions to be used as a drop in
substitute for SorterSetDocValues ... is that really something that would be
eaiser/better then creating a new {{FacetFieldProcessorByArray}} subclass
specifically for dealing with the SortedNumericDocValues ?
# shouldn't this discussion be in SOLR-9989 ... frankly i'm not clear on why
SOLR-7878 is still open since PointFields already use NumericDocValues, it
seems unlikely we'll want to keep TrieFields around long enough to bother with
trying to make it possible/optional to use NumericDocValues with TrieFields.
> Use SortedNumericDocValues (efficient sort & facet on multi-valued numeric
> fields)
> ----------------------------------------------------------------------------------
>
> Key: SOLR-7878
> URL: https://issues.apache.org/jira/browse/SOLR-7878
> Project: Solr
> Issue Type: Improvement
> Components: Facet Module
> Reporter: David Smiley
>
> Lucene has a SortedNumericDocValues (i.e. multi-valued numeric DocValues),
> ever since late in the 4x versions. Solr's TrieField.createFields
> unfortunately still uses SortedSetDocValues for the multi-valued case.
> SortedNumericDocValues is more efficient than SortedSetDocValues; for example
> there is no 'ordinal' mapping for sorting/faceting needed.
> Unfortunately, updating Solr here would be quite a bit of work, since there
> are backwards-compatibility concerns, and faceting code would need a new code
> path implementation just for this. Sorting is relatively simple thanks to
> SortedNumericSortField, and today multi-valued sorting isn't directly
> possible.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]