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

Joel Bernstein updated SOLR-14916:
----------------------------------
    Description: 
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 series reports per each 
split. The split-rows and split-sort parameters will also be added to control 
number and order of values in split field. 

Sample syntax:
{code}
timeseries(collection1, 
                   q="*:*", 
                   split="company", 
                   split-rows=10, 
                   split-sort="avg(price_f) desc",  
                   field="timefield", 
                   gap="+1DAY", 
                   format="YYYY-dd-MM" ,
                   avg(price_f))
{code}



  was:
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 series reports per each 
split. The split-rows and split-sort parameters will also be added to control 
number and order of values in split field. 

Sample syntax:
{code}timeseries(collection1, q="*:*", split="company", split-rows=10, 
split-sort="avg(price_f) desc",  field="timefield", gap="+1DAY", 
format="YYYY-dd-MM" ){code}




> 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 series reports per each 
> split. The split-rows and split-sort parameters will also be added to control 
> number and order of values in split field. 
> Sample syntax:
> {code}
> timeseries(collection1, 
>                    q="*:*", 
>                    split="company", 
>                    split-rows=10, 
>                    split-sort="avg(price_f) desc",  
>                    field="timefield", 
>                    gap="+1DAY", 
>                    format="YYYY-dd-MM" ,
>                    avg(price_f))
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to