corrected wrong url for curl

git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@387973 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
William Au 2006-03-22 23:35:59 +00:00
parent 2ae66472c6
commit c73cc359fa
5 changed files with 5 additions and 5 deletions

View File

@ -85,7 +85,7 @@ logMessage started by $oldwhoami
logMessage command: $0 $@ logMessage command: $0 $@
logMessage sending commit to Solr server at port ${solr_port} logMessage sending commit to Solr server at port ${solr_port}
rs=`curl http://localhost:${solr_port}/update -s -d "<commit/>"` rs=`curl http://localhost:${solr_port}/solr/update -s -d "<commit/>"`
if [[ $? != 0 ]] if [[ $? != 0 ]]
then then
logMessage failed to connect to Solr server at port ${solr_port} logMessage failed to connect to Solr server at port ${solr_port}

View File

@ -85,7 +85,7 @@ logMessage started by $oldwhoami
logMessage command: $0 $@ logMessage command: $0 $@
logMessage sending optimize to Solr server at port ${solr_port} logMessage sending optimize to Solr server at port ${solr_port}
rs=`curl http://localhost:${solr_port}/update -s -d "<optimize/>"` rs=`curl http://localhost:${solr_port}/solr/update -s -d "<optimize/>"`
if [[ $? != 0 ]] if [[ $? != 0 ]]
then then
logMessage failed to connect to Solr server at port ${solr_port} logMessage failed to connect to Solr server at port ${solr_port}

View File

@ -70,7 +70,7 @@ start=`date +"%s"`
logMessage started by $oldwhoami logMessage started by $oldwhoami
logMessage command: $0 $@ logMessage command: $0 $@
rs=`curl http://localhost:${solr_port}/update -s -d "<commit/>"` rs=`curl http://localhost:${solr_port}/solr/update -s -d "<commit/>"`
if [[ $? != 0 ]] if [[ $? != 0 ]]
then then
logMessage failed to connect to Solr server at port ${solr_port} logMessage failed to connect to Solr server at port ${solr_port}

View File

@ -71,7 +71,7 @@ start=`date +"%s"`
logMessage started by $oldwhoami logMessage started by $oldwhoami
logMessage command: $0 $@ logMessage command: $0 $@
rs=`curl http://localhost:${solr_port}/update -s -d "<optimize/>"` rs=`curl http://localhost:${solr_port}/solr/update -s -d "<optimize/>"`
if [[ $? != 0 ]] if [[ $? != 0 ]]
then then
logMessage failed to connect to Solr server at port ${solr_port} logMessage failed to connect to Solr server at port ${solr_port}

View File

@ -71,7 +71,7 @@ start=`date +"%s"`
logMessage started by $oldwhoami logMessage started by $oldwhoami
logMessage command: $0 $@ logMessage command: $0 $@
rs=`curl http://localhost:${solr_port}/update -s -d "<commit/>"` rs=`curl http://localhost:${solr_port}/solr/update -s -d "<commit/>"`
if [[ $? != 0 ]] if [[ $? != 0 ]]
then then
logMessage failed to connect to Solr server at port ${solr_port} logMessage failed to connect to Solr server at port ${solr_port}