[
https://issues.apache.org/jira/browse/SOLR-14916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17482547#comment-17482547
]
ASF subversion and git services commented on SOLR-14916:
--------------------------------------------------------
Commit 2dc9a153743b99f33223be893f7dba3c7e15ae04 in solr's branch
refs/heads/branch_9_0 from Joel Bernstein
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=2dc9a15 ]
SOLR-14916: Update timeseries docs
> Add split parameter to timeseries Streaming Expression
> ------------------------------------------------------
>
> Key: SOLR-14916
> URL: https://issues.apache.org/jira/browse/SOLR-14916
> Project: Solr
> Issue Type: Improvement
> Components: streaming expressions
> Reporter: Joel Bernstein
> Assignee: Joel Bernstein
> Priority: Major
> Fix For: 9.0
>
> Attachments: SOLR-14916.patch, SOLR-14916.patch, SOLR-14916.patch,
> Screen Shot 2021-04-07 at 12.57.54 PM.png, Screen Shot 2021-04-07 at 12.59.24
> PM.png, Screen Shot 2021-04-07 at 12.59.40 PM.png
>
>
> Currently the *timeseries* 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 limit parameter will also be added and be applied only to split. The sort
> will always be desc on the first aggregation in the first iteration to keep
> the parameters simple.
> Sample syntax:
> {code}
> timeseries(collection1,
> q="*:*",
> field="timefield",
> split="company",
> limit="10",
> 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* and
> *minMaxScale* functions already support operations over matrix rows so it's
> very easy to perform clustering etc.. on this output.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]