[
https://issues.apache.org/jira/browse/SOLR-14916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17209051#comment-17209051
]
Aroop commented on SOLR-14916:
------------------------------
[~jbernste] this looks very neat!
> Add split parameter to timeseries Streaming Expression
> ------------------------------------------------------
>
> Key: SOLR-14916
> URL: https://issues.apache.org/jira/browse/SOLR-14916
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Joel Bernstein
> Priority: Major
>
> Currently the time series function only supports aggregations across the time
> dimension. This ticket will add the *split* parameter which will add a top
> level split by categorical field, to produce time lines per each split. The
> split-limit and split-sort parameters will also be added to control number
> and order of values in the split field result.
> Sample syntax:
> {code}
> timeseries(collection1,
> q="*:*",
> split="company",
> split-limit=10,
> split-sort="avg(price_f) desc",
> field="timefield",
> gap="+1DAY",
> format="YYYY-dd-MM" ,
> avg(price_f))
> {code}
> The output of this can be easily pivoted into a matrix and correlated or
> clustered like the output of the *facet2D* function. The *diff* function
> already supports the serial differencing of matrix columns so it's very easy
> to perform clustering etc.. on this output.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]