From 8a4376fb2a3404ffaf58b6946f1086bdc793aea5 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 17 Dec 2020 13:08:39 -0800 Subject: add support for date_histogram and composite aggregations --- tests/files/search/POST_search_agg_histogram.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/files/search/POST_search_agg_histogram.txt (limited to 'tests/files/search/POST_search_agg_histogram.txt') diff --git a/tests/files/search/POST_search_agg_histogram.txt b/tests/files/search/POST_search_agg_histogram.txt new file mode 100644 index 0000000..4689ad1 --- /dev/null +++ b/tests/files/search/POST_search_agg_histogram.txt @@ -0,0 +1,13 @@ +POST /sales/_search?size=0 +{ + "aggs": { + "quantity": { + "histogram": { + "field": "quantity", + "interval": 10, + "keyed": true, + "missing": 0 + } + } + } +} -- cgit v1.2.3