You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Joel Bernstein (Jira)" <ji...@apache.org> on 2021/04/05 21:01:00 UTC

[jira] [Assigned] (SOLR-14916) Add split parameter to timeseries Streaming Expression

     [ https://issues.apache.org/jira/browse/SOLR-14916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joel Bernstein reassigned SOLR-14916:
-------------------------------------

    Assignee: Joel Bernstein

> Add split parameter to timeseries Streaming Expression
> ------------------------------------------------------
>
>                 Key: SOLR-14916
>                 URL: https://issues.apache.org/jira/browse/SOLR-14916
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Joel Bernstein
>            Assignee: Joel Bernstein
>            Priority: Major
>         Attachments: SOLR-14916.patch
>
>
> 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.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org