summaryrefslogtreecommitdiffstats
path: root/tests/files/search/POST_search_agg_histogram.txt
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-12-17 13:08:39 -0800
committerBryan Newbold <bnewbold@archive.org>2020-12-17 13:08:39 -0800
commit8a4376fb2a3404ffaf58b6946f1086bdc793aea5 (patch)
treef040718917e9ac22017cf0598db1f0aabc6ce1b1 /tests/files/search/POST_search_agg_histogram.txt
parent3940c481760fbe2c9299fb52513e7717b8e3c214 (diff)
downloades-public-proxy-8a4376fb2a3404ffaf58b6946f1086bdc793aea5.tar.gz
es-public-proxy-8a4376fb2a3404ffaf58b6946f1086bdc793aea5.zip
add support for date_histogram and composite aggregations
Diffstat (limited to 'tests/files/search/POST_search_agg_histogram.txt')
-rw-r--r--tests/files/search/POST_search_agg_histogram.txt13
1 files changed, 13 insertions, 0 deletions
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
+ }
+ }
+ }
+}