[
https://issues.apache.org/jira/browse/SOLR-7878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14692854#comment-14692854
]
David Smiley commented on SOLR-7878:
------------------------------------
bq. With SOLR-2522 + LUCENE-6609 you can do things like ...
Yes I was aware of that already when I wrote this issue. I should have
referenced it. My choice of words is perhaps nuanced... I said multi-valued
sorting isn't _directly_ possible -- as in you can't sort on it normally; you
have to know to use special functions you wrote recently. Your work on those
things coincided with me solving the multi-valued sort problem for a customer
and I was considering open-sourcing but there's less need now.
> 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.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]