Hi,
I have a document with two fields, timestamp (date) and response_time
(numeric).
Now suppose I want to do a query like 'Get the daily average response time
for each day of the last 10 days', what's the recommended way to do this?
If I want to use the Statistical facet, then I will have to fire the same
query (changing date range in the filter each time) 10 times. Is there a
way this could be done in a single query?
Basically I want to do a date range facet on the timestamp field, and for
each daily bucket I want to calculate the statistical function (like mean,
max, distinct etc)
Hi,
I have a document with two fields, timestamp (date) and response_time
(numeric).
Now suppose I want to do a query like 'Get the daily average response time
for each day of the last 10 days', what's the recommended way to do this?
If I want to use the Statistical facet, then I will have to fire the same
query (changing date range in the filter each time) 10 times. Is there a way
this could be done in a single query?
Basically I want to do a date range facet on the timestamp field, and for
each daily bucket I want to calculate the statistical function (like mean,
max, distinct etc)
Hi,
I have a document with two fields, timestamp (date) and response_time
(numeric).
Now suppose I want to do a query like 'Get the daily average response
time
for each day of the last 10 days', what's the recommended way to do
this?
If I want to use the Statistical facet, then I will have to fire the
same
query (changing date range in the filter each time) 10 times. Is there a
way
this could be done in a single query?
Basically I want to do a date range facet on the timestamp field, and
for
each daily bucket I want to calculate the statistical function (like
mean,
max, distinct etc)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.