Hello!
I want create a buckets with date_histogram with week interval, but I need a week that starts at Thursday and ends on Wednesday from next week: 29.08-04.09, 05.09-11.09, eg. Is that possible in one query?
Welcome!
I'd look at offset. See https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-datehistogram-aggregation.html#_offset
HTH
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.