From: Dennis Schafroth Date: Mon, 19 Aug 2013 09:41:37 +0000 (+0200) Subject: Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/lui-solr X-Git-Tag: v0.4.11~4^2~3 X-Git-Url: http://git.indexdata.com/?p=lui-solr.git;a=commitdiff_plain;h=72cc72aa3299c35b8acca109bb3889e50044d6cb;hp=f60e4944983c67350c67ba26ead4585d16898715 Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/lui-solr --- diff --git a/commit_solr.sh b/commit_solr.sh index 0cb3a43..2b3f6c3 100644 --- a/commit_solr.sh +++ b/commit_solr.sh @@ -1,9 +1,4 @@ #!/bin/bash - -if [ "$1" == "" ] ; then - echo "No database id given" - exit 1 ; -fi HOST=localhost PORT=8080 -curl http://$HOST:$PORT/solr/update -H "Content-Type: text/xml" --data-binary '' \ No newline at end of file +curl http://$HOST:$PORT/solr/update -H "Content-Type: text/xml" --data-binary '' \ No newline at end of file diff --git a/optimize_solr.sh b/optimize_solr.sh index 1c22ed8..bb4127d 100755 --- a/optimize_solr.sh +++ b/optimize_solr.sh @@ -11,4 +11,4 @@ if [ "$2" != "" ] ; then HOST_PORT="$2" fi -curl http://${HOST_PORT}/solr/update -H "Content-Type: text/xml" --data-binary '' \ No newline at end of file +curl http://${HOST_PORT}/solr/update -H "Content-Type: text/xml" --data-binary ''