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