+++ /dev/null
-#!/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 '<commit waitFlush="false" waitSearcher="false" expungeDeletes="true"/>'
\ No newline at end of file