I am using date_histogram to get data in buckets grouped by time. Interval is weekly with offset of -1d, and time_zone is +08:00. The min value is equal to the "gte". When using extended_bounds, I get an extra bucket for the week before if the query starts on Sunday.
My guess is the offset is not being accounted for in the extended bounds. Is this the case?
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.