[ 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 lines per each split. The split-limit and split-sort parameters will also be added to control the 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* and *minMaxScale* functions already support operations over matrix rows so it's very easy to perform clustering etc.. on this output. 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 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* and *minMaxScale* functions already support operations over matrix rows so it's very easy to perform clustering etc.. on this output. > 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 the > 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* 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-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org