[
https://issues.apache.org/jira/browse/SOLR-11706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16278002#comment-16278002
]
David Smiley commented on SOLR-11706:
-------------------------------------
I just want to point out that "multi-valued functions" in fact exist --
{{org.apache.lucene.queries.function.valuesource.MultiValueSource}}. I'm not a
fan -- the API feels awkward to me, but there it is. We pretty much only _use_
it today for some legacy-ish spatial stuff. I'd prefer this interface and some
of the related methods on FunctionValues that take arrays be deprecated out of
Lucene.
> JSON FacetModule can't compute stats (min,max,etc...) on multivalued fields
> ---------------------------------------------------------------------------
>
> Key: SOLR-11706
> URL: https://issues.apache.org/jira/browse/SOLR-11706
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Hoss Man
> Attachments: SOLR-11706.patch
>
>
> While trying to write some tests demonstrating equivalences between the
> StatsComponent and the JSON FacetModule i discovered that the FacetModules
> stat functions (min, max, etc...) don't seem to work on multivalued fields.
> Based on the stack traces, i gather the problem is because the FacetModule
> seems to rely exclusively on using the "Function" parsers to get a value
> source -- apparently w/o any other method of accumulating numeric stats from
> multivalued (numeric) DocValues?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]