summaryrefslogtreecommitdiff
path: root/src/es5/test-query-es
blob: 0d198e2062cecb2af57a07393807c2968033bea7 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh

if [ -z "$1" ]; then
  echo "Usage: $0 <index>"
  exit 1
fi

curl -XGET 'http://stream.elevate.at:9200/'"$1"'/dataupdate/_search?search_type=count&pretty' -d @es-query.json