[
https://issues.apache.org/jira/browse/SOLR-2522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14649424#comment-14649424
]
ASF subversion and git services commented on SOLR-2522:
-------------------------------------------------------
Commit 1693625 from [email protected] in branch 'dev/trunk'
[ https://svn.apache.org/r1693625 ]
SOLR-2522: new two argument option for the existing field() function; picks the
min/max value of a docValues field to use as a ValueSource:
"field(field_name,min)" and "field(field_name,max)"
> add syntax for selecting the min or max of a multivalued field in value
> source functions
> ----------------------------------------------------------------------------------------
>
> Key: SOLR-2522
> URL: https://issues.apache.org/jira/browse/SOLR-2522
> Project: Solr
> Issue Type: Improvement
> Reporter: Bill Bell
> Assignee: Hoss Man
> Attachments: SOLR-2522.patch, SOLR-2522.patch, SOLR-2522.patch
>
>
> Initial request...
> bq. Switch max() and min() functions to work on multiValued fields so we can
> do sort=min(fieldname) asc and the sort would work on multiValued fields...
> ...this specific syntax has been spun off into SOLR-7853, but the underlying
> functionality s being implemented here using a new optional second argument
> to the {{field()}} function: {{field(multivalued_field_name,min)}} and
> {{field(multivalued_field_name,max)}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]