summaryrefslogtreecommitdiffstats
path: root/tests/files/search/GET_search_agg_composite_missing.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/files/search/GET_search_agg_composite_missing.txt')
-rw-r--r--tests/files/search/GET_search_agg_composite_missing.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/files/search/GET_search_agg_composite_missing.txt b/tests/files/search/GET_search_agg_composite_missing.txt
new file mode 100644
index 0000000..c46e190
--- /dev/null
+++ b/tests/files/search/GET_search_agg_composite_missing.txt
@@ -0,0 +1,13 @@
+GET /some-index/_search
+{
+ "size": 0,
+ "aggs": {
+ "my_buckets": {
+ "composite": {
+ "sources": [
+ { "product_name": { "terms": { "field": "product", "missing_bucket": true } } }
+ ]
+ }
+ }
+ }
+}