summaryrefslogtreecommitdiff
path: root/src/es5
diff options
context:
space:
mode:
Diffstat (limited to 'src/es5')
-rwxr-xr-xsrc/es5/last-update-es (renamed from src/es5/test-last-update-es)2
-rw-r--r--src/es5/last-update.json2
-rwxr-xr-xsrc/es5/test-query-es2
3 files changed, 2 insertions, 4 deletions
diff --git a/src/es5/test-last-update-es b/src/es5/last-update-es
index 44d4b93..149a91c 100755
--- a/src/es5/test-last-update-es
+++ b/src/es5/last-update-es
@@ -5,4 +5,4 @@ if [ -z "$1" ]; then
exit 1
fi
-curl -XGET 'http://stream.elevate.at:9200/'"$1"'/dataupdate/_search?pretty' -d @last-update.json
+curl -XGET 'http://stream.elevate.at:9200/'"$1"'/dataupdate/_search?search_type=count&pretty' -d @last-update.json
diff --git a/src/es5/last-update.json b/src/es5/last-update.json
index 4aaabb5..77146a3 100644
--- a/src/es5/last-update.json
+++ b/src/es5/last-update.json
@@ -1,6 +1,4 @@
{
- "from": 0,
- "size": 0,
"query": {
"match": { "SourceHubUuid": "dd0c7f5c-82f0-4b95-8b5c-0559b2d976c3" }
},
diff --git a/src/es5/test-query-es b/src/es5/test-query-es
index 95ef82b..0d198e2 100755
--- a/src/es5/test-query-es
+++ b/src/es5/test-query-es
@@ -5,4 +5,4 @@ if [ -z "$1" ]; then
exit 1
fi
-curl -XGET 'http://stream.elevate.at:9200/'"$1"'/dataupdate/_search?pretty' -d @es-query.json
+curl -XGET 'http://stream.elevate.at:9200/'"$1"'/dataupdate/_search?search_type=count&pretty' -d @es-query.json