You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ferenczi Jim (JIRA)" <ji...@apache.org> on 2016/11/03 17:56:58 UTC
[jira] [Created] (LUCENE-7537) Add multi valued field support to
index sorting
Ferenczi Jim created LUCENE-7537:
------------------------------------
Summary: Add multi valued field support to index sorting
Key: LUCENE-7537
URL: https://issues.apache.org/jira/browse/LUCENE-7537
Project: Lucene - Core
Issue Type: Improvement
Components: core/index
Reporter: Ferenczi Jim
Today index sorting can be done on single valued field through the NumericDocValues (for numerics) and SortedDocValues (for strings).
I'd like to add the ability to sort on multi valued fields. Since index sorting does not accept custom comparator we could just take the minimum value of each document for an ascending sort and the maximum value for a descending sort.
This way we could handle all cases instead of throwing an exception during a merge when we encounter a multi valued DVs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org