aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/search/GET_search_agg_max.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/files/search/GET_search_agg_max.txt')
-rw-r--r--tests/files/search/GET_search_agg_max.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/files/search/GET_search_agg_max.txt b/tests/files/search/GET_search_agg_max.txt
new file mode 100644
index 0000000..1377afc
--- /dev/null
+++ b/tests/files/search/GET_search_agg_max.txt
@@ -0,0 +1,11 @@
+POST /sales/_search
+{
+ "aggs" : {
+ "grade_max" : {
+ "max" : {
+ "field" : "grade",
+ "missing": 10
+ }
+ }
+ }
+}