X-Git-Url: http://git.indexdata.com/?p=lui-solr.git;a=blobdiff_plain;f=scripts%2Fcommit_solr.sh;fp=scripts%2Fcommit_solr.sh;h=0000000000000000000000000000000000000000;hp=df587ab52277bd53230b974cbf17c902f9f75d4f;hb=87e1dcc53b623a814a7020ba58ede9b089dd1996;hpb=dbd01a6924b459410829a2d16e13e3a147492276 diff --git a/scripts/commit_solr.sh b/scripts/commit_solr.sh deleted file mode 100644 index df587ab..0000000 --- a/scripts/commit_solr.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -HOST_PORT=localhost:8080 - -if [ "$2" != "" ] ; then - HOST_PORT="$2" -fi - -SOLR_PATH=solr4 -if [ "$2" != "" ] ; then - SOLR_PATH="$2" -fi - -if [ "$1" == "-h" ] ; then - echo "$0 [[HOST:PORT] SOLR_PATH] (default $HOST_PORT/$SOLR_PATH)" -fi - -curl http://$HOST:$PORT/$SOLR_PATH/update -H "Content-Type: text/xml" --data-binary '' \ No newline at end of file