X-Git-Url: http://git.indexdata.com/?p=lui-solr.git;a=blobdiff_plain;f=commit_solr.sh;h=2b3f6c384bd9e9d4e3fa0de2226b6f7b38909720;hp=0cb3a43de41a141782e5fc7b81d95bc191482b5b;hb=11f3cb211daa68a1045580ee0d2e904882674af7;hpb=cc818b5486321d771aaa214a27f428c66e6d0438 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