aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-08-25 14:10:44 -0700
committerBryan Newbold <bnewbold@archive.org>2020-08-25 14:10:44 -0700
commitd8d10a292a0d6bd0134fcfe785718bb8f48dd085 (patch)
tree9df0ff2dc7127d88c91666021569896847ede21a /tests/files
parentc49b85ffa31016be21f03e484a263c36932fefe0 (diff)
downloades-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.txt2
-rw-r--r--tests/files/GET_highlight_complex.txt2
-rw-r--r--tests/files/GET_highlight_fields.txt2
-rw-r--r--tests/files/GET_highlight_query.txt2
-rw-r--r--tests/files/GET_search.txt2
-rw-r--r--tests/files/GET_search_bool.txt2
-rw-r--r--tests/files/GET_search_boosting.txt2
-rw-r--r--tests/files/GET_search_docvalues.txt2
-rw-r--r--tests/files/GET_search_multi_match.txt2
-rw-r--r--tests/files/POST_search_inner.txt2
-rw-r--r--tests/files/POST_search_rescore.txt2
-rw-r--r--tests/files/POST_search_sort_mode.txt2
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" }