X-Git-Url: http://git.indexdata.com/?p=lui-solr.git;a=blobdiff_plain;f=scripts%2Fdelete_solr.sh;fp=scripts%2Fdelete_solr.sh;h=0000000000000000000000000000000000000000;hp=6c5140826659f59628c5ecea1c5a7eb1f9fd830f;hb=87e1dcc53b623a814a7020ba58ede9b089dd1996;hpb=dbd01a6924b459410829a2d16e13e3a147492276
diff --git a/scripts/delete_solr.sh b/scripts/delete_solr.sh
deleted file mode 100755
index 6c51408..0000000
--- a/scripts/delete_solr.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-HOST_PORT="localhost:8080"
-
-if [ "$2" != "" ] ; then
- HOST_PORT="$2"
-fi
-
-SOLR_PATH=solr4
-if [ "$3" != "" ] ; then
- SOLR_PATH="$3"
-fi
-
-if [ "$1" == "" ] ; then
- echo "$0 databaseid [[HOST:PORT] PATH] (default $HOST_PORT/$PATH)"
- exit 1 ;
-fi
-
-curl http://${HOST_PORT}/$SOLR_PATH/update -H "Content-Type: text/xml" --data-binary "database:$1"
-curl http://${HOST_PORT}/$SOLR_PATH/update -H "Content-Type: text/xml" --data-binary ''