summaryrefslogtreecommitdiff
path: root/src/es5/create-index-es
blob: 3318cea3728b701074055f8d5215cc7e4fd3ac2f (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh

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

curl -XPOST 'http://stream.elevate.at:9200/'"$1"'?pretty' -d @sfive-init.json