From 45e4cd9537f289a98579eef36a2dc3e561cc48fa Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 25 Aug 2020 18:33:39 -0700 Subject: move tests around --- tests/files/search/GET_collapse_nested.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/files/search/GET_collapse_nested.txt (limited to 'tests/files/search/GET_collapse_nested.txt') diff --git a/tests/files/search/GET_collapse_nested.txt b/tests/files/search/GET_collapse_nested.txt new file mode 100644 index 0000000..a31c8e4 --- /dev/null +++ b/tests/files/search/GET_collapse_nested.txt @@ -0,0 +1,16 @@ +GET /my-index-000001/_search +{ + "query": { + "match": { + "message": "GET /search" + } + }, + "collapse": { + "field": "geo.country_name", + "inner_hits": { + "name": "by_location", + "collapse": { "field": "user.id" }, + "size": 3 + } + } +} -- cgit v1.2.3