[ https://issues.apache.org/jira/browse/SOLR-14916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17209046#comment-17209046 ]
Joel Bernstein commented on SOLR-14916: --------------------------------------- [~aroopganguly], how does this design look to you? > 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 split field. > 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. -- 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