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