Yonik Seeley created SOLR-10579:
-----------------------------------
Summary: add multistat aggregation function
Key: SOLR-10579
URL: https://issues.apache.org/jira/browse/SOLR-10579
Project: Solr
Issue Type: New Feature
Security Level: Public (Default Security Level. Issues are Public)
Components: Facet Module
Reporter: Yonik Seeley
A multistat() facet function could calculate a bunch of statistics together,
rather than having to specify each individually. This would presumably be more
efficient to calculate and shorter to specify.
number_of_values, min, max, sum, sum_of_squares, variance, stddev
We would also want to be able to use any of these for sorting or filtering...
perhaps with a dot notation. That could be a separate issue to implement, but
we should keep it in mind.
{code}
type: terms,
field: myfield,
sort : "x.max desc"
facet: {
x : "multistat(numeric_field)"
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]