[ https://issues.apache.org/jira/browse/SOLR-14916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17209128#comment-17209128 ]
Joel Bernstein edited comment on SOLR-14916 at 10/6/20, 8:18 PM: ----------------------------------------------------------------- The gap parameter maps to the JSON facet range faceting gap parameter. I believe this is documented in Solr's time field docs. was (Author: joel.bernstein): The gap parameter maps to the JSON facet range faceting gap parameter. I believe this documented in Solr's time field 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 > 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