X-Git-Url: http://git.indexdata.com/?p=lui-solr.git;a=blobdiff_plain;f=delete_solr.sh;fp=delete_solr.sh;h=0000000000000000000000000000000000000000;hp=2b91d6514e1bd80c544efb21f60d3bc3829cc292;hb=2b52626c1213e6bf757b609316ea027a330da926;hpb=72cc72aa3299c35b8acca109bb3889e50044d6cb diff --git a/delete_solr.sh b/delete_solr.sh deleted file mode 100755 index 2b91d65..0000000 --- a/delete_solr.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -if [ "$1" == "" ] ; then - echo "$0 databaseid [HOST:PORT] " - exit 1 ; -fi -HOSTPORT="localhost:8080" - -if [ "$2" != "" ] ; then - HOSTPORT="$2" -fi - -curl http://${HOSTPORT}/solr/update -H "Content-Type: text/xml" --data-binary "database:$1" -curl http://${HOSTPORT}/solr/update -H "Content-Type: text/xml" --data-binary ''