diff options
author | Christian Pointner <equinox@spreadspace.org> | 2014-11-29 18:09:01 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2014-11-29 18:09:01 +0100 |
commit | 3f508a8920ac84d18edf3e9a6d353d50141d6477 (patch) | |
tree | c908fc7d16ac3eea615ca795120b81f98f5a3148 /src | |
parent | es5: added query for last update id (diff) |
es5: added index deletion script
Diffstat (limited to 'src')
-rwxr-xr-x | src/es5/delete-index-es | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/es5/delete-index-es b/src/es5/delete-index-es new file mode 100755 index 0000000..ec3c6c6 --- /dev/null +++ b/src/es5/delete-index-es @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ -z "$1" ]; then + echo "Usage: $0 <index>" + exit 1 +fi + +curl -XDELETE 'http://stream.elevate.at:9200/'"$1"'?pretty' |