aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-08-18 00:06:02 -0700
committerBryan Newbold <bnewbold@archive.org>2020-08-18 00:06:02 -0700
commit38d3f8143a26c448f9f4898962ceca3d3e877163 (patch)
tree2563070458c9f21f5c074615b554366eaa5f1c3e /tests/files
parentd1d925e55e8a75e72813a647fa2fe843023f8980 (diff)
downloades-public-proxy-38d3f8143a26c448f9f4898962ceca3d3e877163.tar.gz
es-public-proxy-38d3f8143a26c448f9f4898962ceca3d3e877163.zip
start of test infra
Diffstat (limited to 'tests/files')
-rw-r--r--tests/files/GET_search.txt10
-rw-r--r--tests/files/GET_search_multi_match.txt9
2 files changed, 19 insertions, 0 deletions
diff --git a/tests/files/GET_search.txt b/tests/files/GET_search.txt
new file mode 100644
index 0000000..1ed6157
--- /dev/null
+++ b/tests/files/GET_search.txt
@@ -0,0 +1,10 @@
+GET /_search
+{
+ "query": {
+ "match": {
+ "message": {
+ "query": "this is a test"
+ }
+ }
+ }
+}
diff --git a/tests/files/GET_search_multi_match.txt b/tests/files/GET_search_multi_match.txt
new file mode 100644
index 0000000..17aca77
--- /dev/null
+++ b/tests/files/GET_search_multi_match.txt
@@ -0,0 +1,9 @@
+GET /_search
+{
+ "query": {
+ "multi_match" : {
+ "query" : "this is a test",
+ "fields" : [ "subject^3", "message" ]
+ }
+ }
+}