+1 for this feature!

What I need is pretty similar: calculate rolling sum, so for each day, I 
need to sum the previous 30 days (on each point). Oracle and Postgre make 
this very easy with aggregation function (and they can take advantage of 
very interesting optimization for sum, as each point is actually the sum of 
previous day + sum of elements in the given day). Actually, the simplest 
way I've found is asking for more data (so if I want rolling sum for 30 
days, I ask for 60 days, and do the sum myself). But this is quite 
inefficient.

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/b72eea67-d8cb-4ac3-ac4f-4e984183731b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to