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