Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

corrected wrong url for curl

William Auc73cc359faf3
diff --git a/src/scripts/abc b/src/scripts/abc
index 016e246877b..c56104d9505 100755
--- a/src/scripts/abc
+++ b/src/scripts/abc
@@ -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}
diff --git a/src/scripts/abo b/src/scripts/abo
index 2031a606c86..99b95e6311b 100755
--- a/src/scripts/abo
+++ b/src/scripts/abo
@@ -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}
diff --git a/src/scripts/commit b/src/scripts/commit
index b69bf459e88..e6e9256c151 100755
--- a/src/scripts/commit
+++ b/src/scripts/commit
@@ -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}
diff --git a/src/scripts/optimize b/src/scripts/optimize
index ae315b71e06..117666bda75 100755
--- a/src/scripts/optimize
+++ b/src/scripts/optimize
@@ -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}
diff --git a/src/scripts/readercycle b/src/scripts/readercycle
index e920580968b..0d6a70cbc88 100755
--- a/src/scripts/readercycle
+++ b/src/scripts/readercycle
@@ -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}