diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-08-25 14:10:44 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-08-25 14:10:44 -0700 |
commit | d8d10a292a0d6bd0134fcfe785718bb8f48dd085 (patch) | |
tree | 9df0ff2dc7127d88c91666021569896847ede21a /tests/files | |
parent | c49b85ffa31016be21f03e484a263c36932fefe0 (diff) | |
download | es-public-proxy-d8d10a292a0d6bd0134fcfe785718bb8f48dd085.tar.gz es-public-proxy-d8d10a292a0d6bd0134fcfe785718bb8f48dd085.zip |
tests: proper URIs; filter request bodies
Diffstat (limited to 'tests/files')
-rw-r--r-- | tests/files/GET_highlight.txt | 2 | ||||
-rw-r--r-- | tests/files/GET_highlight_complex.txt | 2 | ||||
-rw-r--r-- | tests/files/GET_highlight_fields.txt | 2 | ||||
-rw-r--r-- | tests/files/GET_highlight_query.txt | 2 | ||||
-rw-r--r-- | tests/files/GET_search.txt | 2 | ||||
-rw-r--r-- | tests/files/GET_search_bool.txt | 2 | ||||
-rw-r--r-- | tests/files/GET_search_boosting.txt | 2 | ||||
-rw-r--r-- | tests/files/GET_search_docvalues.txt | 2 | ||||
-rw-r--r-- | tests/files/GET_search_multi_match.txt | 2 | ||||
-rw-r--r-- | tests/files/POST_search_inner.txt | 2 | ||||
-rw-r--r-- | tests/files/POST_search_rescore.txt | 2 | ||||
-rw-r--r-- | tests/files/POST_search_sort_mode.txt | 2 |
12 files changed, 12 insertions, 12 deletions
diff --git a/tests/files/GET_highlight.txt b/tests/files/GET_highlight.txt index 15346fb..8dc23ea 100644 --- a/tests/files/GET_highlight.txt +++ b/tests/files/GET_highlight.txt @@ -1,4 +1,4 @@ -GET my-index-000001/_search +GET /my-index-000001/_search { "query": { "match_phrase": { "message": "number 1" } diff --git a/tests/files/GET_highlight_complex.txt b/tests/files/GET_highlight_complex.txt index 94e4221..288aa9f 100644 --- a/tests/files/GET_highlight_complex.txt +++ b/tests/files/GET_highlight_complex.txt @@ -1,4 +1,4 @@ -GET /_search +GET /some-index/_search { "query" : { "match": { "user.id": "kimchy" } diff --git a/tests/files/GET_highlight_fields.txt b/tests/files/GET_highlight_fields.txt index bbd474a..85b55cb 100644 --- a/tests/files/GET_highlight_fields.txt +++ b/tests/files/GET_highlight_fields.txt @@ -1,4 +1,4 @@ -GET /_search +GET /some-index/_search { "query": { "query_string": { diff --git a/tests/files/GET_highlight_query.txt b/tests/files/GET_highlight_query.txt index 2540b45..7c7f0ea 100644 --- a/tests/files/GET_highlight_query.txt +++ b/tests/files/GET_highlight_query.txt @@ -1,4 +1,4 @@ -GET /_search +GET /some-index/_search { "query": { "match": { diff --git a/tests/files/GET_search.txt b/tests/files/GET_search.txt index 1ed6157..7ff7ca6 100644 --- a/tests/files/GET_search.txt +++ b/tests/files/GET_search.txt @@ -1,4 +1,4 @@ -GET /_search +GET /some-index/_search { "query": { "match": { diff --git a/tests/files/GET_search_bool.txt b/tests/files/GET_search_bool.txt index f04ac5a..3f402f9 100644 --- a/tests/files/GET_search_bool.txt +++ b/tests/files/GET_search_bool.txt @@ -1,4 +1,4 @@ -GET _search +GET /some-index/_search { "query": { "bool": { diff --git a/tests/files/GET_search_boosting.txt b/tests/files/GET_search_boosting.txt index 4db1814..9045a54 100644 --- a/tests/files/GET_search_boosting.txt +++ b/tests/files/GET_search_boosting.txt @@ -1,4 +1,4 @@ -GET /_search +GET /some-index/_search { "query": { "boosting": { diff --git a/tests/files/GET_search_docvalues.txt b/tests/files/GET_search_docvalues.txt index 5b92b39..2fd57b1 100644 --- a/tests/files/GET_search_docvalues.txt +++ b/tests/files/GET_search_docvalues.txt @@ -1,4 +1,4 @@ -GET /_search +GET /some-index/_search { "query": { "match_all": {} diff --git a/tests/files/GET_search_multi_match.txt b/tests/files/GET_search_multi_match.txt index 17aca77..cf07050 100644 --- a/tests/files/GET_search_multi_match.txt +++ b/tests/files/GET_search_multi_match.txt @@ -1,4 +1,4 @@ -GET /_search +GET /some-index/_search { "query": { "multi_match" : { diff --git a/tests/files/POST_search_inner.txt b/tests/files/POST_search_inner.txt index b6b3804..56c5acc 100644 --- a/tests/files/POST_search_inner.txt +++ b/tests/files/POST_search_inner.txt @@ -1,4 +1,4 @@ -POST test/_search +POST /test/_search { "query": { "nested": { diff --git a/tests/files/POST_search_rescore.txt b/tests/files/POST_search_rescore.txt index 81fcd96..071cf5f 100644 --- a/tests/files/POST_search_rescore.txt +++ b/tests/files/POST_search_rescore.txt @@ -1,4 +1,4 @@ -POST /_search +POST /some-index/_search { "query" : { "match" : { diff --git a/tests/files/POST_search_sort_mode.txt b/tests/files/POST_search_sort_mode.txt index 1d6988f..54155ca 100644 --- a/tests/files/POST_search_sort_mode.txt +++ b/tests/files/POST_search_sort_mode.txt @@ -1,4 +1,4 @@ -POST /_search +POST /some-index/_search { "query" : { "term" : { "product" : "chocolate" } |