summaryrefslogtreecommitdiffstats
path: root/tests/files/GET_search_agg_nested.txt
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-08-25 18:09:18 -0700
committerBryan Newbold <bnewbold@archive.org>2020-08-25 18:15:53 -0700
commit55f9b88ba1d63db75ef9cde3cf94e5c98526ad2f (patch)
tree68d31143996afce99dfa346042c1123dd944f766 /tests/files/GET_search_agg_nested.txt
parenta66caf9b7ae476f526a706d31ed5ef4f8d361b00 (diff)
downloades-public-proxy-55f9b88ba1d63db75ef9cde3cf94e5c98526ad2f.tar.gz
es-public-proxy-55f9b88ba1d63db75ef9cde3cf94e5c98526ad2f.zip
significant increase in parse and test coverage
Diffstat (limited to 'tests/files/GET_search_agg_nested.txt')
-rw-r--r--tests/files/GET_search_agg_nested.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/files/GET_search_agg_nested.txt b/tests/files/GET_search_agg_nested.txt
new file mode 100644
index 0000000..8e5d1c1
--- /dev/null
+++ b/tests/files/GET_search_agg_nested.txt
@@ -0,0 +1,16 @@
+GET /products/_search
+{
+ "query": {
+ "match": { "name": "led tv" }
+ },
+ "aggs": {
+ "resellers": {
+ "nested": {
+ "path": "resellers"
+ },
+ "aggs": {
+ "min_price": { "min": { "field": "resellers.price" } }
+ }
+ }
+ }
+}