[ https://issues.apache.org/jira/browse/SOLR-2522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hoss Man updated SOLR-2522: --------------------------- Description: 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)}}. was: 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... Summary: add syntax for selecting the min or max of a multivalued field in value source functions (was: Change max() and min() to work on multiValued fields ) > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org