summaryrefslogtreecommitdiff
path: root/src/es5/test-query-es
diff options
context:
space:
mode:
Diffstat (limited to 'src/es5/test-query-es')
-rwxr-xr-xsrc/es5/test-query-es8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/es5/test-query-es b/src/es5/test-query-es
new file mode 100755
index 0000000..2782cec
--- /dev/null
+++ b/src/es5/test-query-es
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ -z "$1" ]; then
+ echo "Usage $0 <index>"
+ exit 1
+fi
+
+curl -XGET 'http://stream.elevate.at:9200/'"$1"'/dataupdate/_search?pretty' -d @es-query.json