You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Joel Bernstein (JIRA)" <ji...@apache.org> on 2016/04/09 20:47:25 UTC
[jira] [Updated] (SOLR-8963) And new TimeStream to support time
series rollups
[ https://issues.apache.org/jira/browse/SOLR-8963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joel Bernstein updated SOLR-8963:
---------------------------------
Fix Version/s: 6.1
> And new TimeStream to support time series rollups
> -------------------------------------------------
>
> Key: SOLR-8963
> URL: https://issues.apache.org/jira/browse/SOLR-8963
> Project: Solr
> Issue Type: New Feature
> Reporter: Joel Bernstein
> Fix For: 6.1
>
>
> The TimeStream will read Tuples from an underlying stream and expand a unix timestamp into the individual fields: year, month, day, hour, week, minute, second, milli-second).
> This will allow rollups to made on any time grain.
> Sample syntax:
> {code}
> rollup(
> time(search(...), field="timestamp")
> over="year, month,day,hour,minute,second,millis",
> sum(a_i),
> sum(a_f),
> min(a_i),
> min(a_f),
> max(a_i),
> max(a_f),
> avg(a_i),
> avg(a_f),
> count(*))
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org