[
https://issues.apache.org/jira/browse/SOLR-10613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yonik Seeley updated SOLR-10613:
--------------------------------
Attachment: SOLR-10613.patch
Here's a patch that allows passing a flag to parseValueSource that will just
wrap the field name in a FieldNameValueSource rather than trying to create the
actual value source. The caller can then handle as they see fit.
> Allow value source parser to accept multi-valued fields
> -------------------------------------------------------
>
> Key: SOLR-10613
> URL: https://issues.apache.org/jira/browse/SOLR-10613
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Facet Module
> Reporter: Yonik Seeley
> Attachments: SOLR-10613.patch
>
>
> The current value source parser throws an exception with multi-valued fields.
> This prevents easily parsing a function that accepts another function or a
> multi-valued field (like min/max of a multi-valued string field)
> Example:
> {code}
> facet: {
> x : "min(sum(a,b))"
> y : "min(multi_valued_field)"
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]