mirror of https://github.com/apache/lucene.git
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:
parent
2ae66472c6
commit
c73cc359fa
|
@ -85,7 +85,7 @@ logMessage started by $oldwhoami
|
|||
logMessage command: $0 $@
|
||||
|
||||
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 ]]
|
||||
then
|
||||
logMessage failed to connect to Solr server at port ${solr_port}
|
||||
|
|
|
@ -85,7 +85,7 @@ logMessage started by $oldwhoami
|
|||
logMessage command: $0 $@
|
||||
|
||||
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 ]]
|
||||
then
|
||||
logMessage failed to connect to Solr server at port ${solr_port}
|
||||
|
|
|
@ -70,7 +70,7 @@ start=`date +"%s"`
|
|||
logMessage started by $oldwhoami
|
||||
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 ]]
|
||||
then
|
||||
logMessage failed to connect to Solr server at port ${solr_port}
|
||||
|
|
|
@ -71,7 +71,7 @@ start=`date +"%s"`
|
|||
logMessage started by $oldwhoami
|
||||
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 ]]
|
||||
then
|
||||
logMessage failed to connect to Solr server at port ${solr_port}
|
||||
|
|
|
@ -71,7 +71,7 @@ start=`date +"%s"`
|
|||
logMessage started by $oldwhoami
|
||||
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 ]]
|
||||
then
|
||||
logMessage failed to connect to Solr server at port ${solr_port}
|
||||
|
|
Loading…
Reference in New Issue