lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] [Commented] (SOLR-7878) Use SortedNumericDocValues (efficient sort & facet on multi-valued numeric fields)
Date Thu, 24 Mar 2016 21:39:25 GMT


Yonik Seeley commented on SOLR-7878:

A perfect time to do this cut-over will be with the addition of the new Point based fields
This also would allow us to leave TrieField unchanged for back compat.

> Use SortedNumericDocValues (efficient sort & facet on multi-valued numeric fields)
> ----------------------------------------------------------------------------------
>                 Key: SOLR-7878
>                 URL:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message