From c73cc359faf391c7df76f72989dd12eb1c85c9d2 Mon Sep 17 00:00:00 2001 From: William Au Date: Wed, 22 Mar 2006 23:35:59 +0000 Subject: [PATCH] corrected wrong url for curl git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@387973 13f79535-47bb-0310-9956-ffa450edef68 --- src/scripts/abc | 2 +- src/scripts/abo | 2 +- src/scripts/commit | 2 +- src/scripts/optimize | 2 +- src/scripts/readercycle | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) 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 ""` +rs=`curl http://localhost:${solr_port}/solr/update -s -d ""` 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 ""` +rs=`curl http://localhost:${solr_port}/solr/update -s -d ""` 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 ""` +rs=`curl http://localhost:${solr_port}/solr/update -s -d ""` 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 ""` +rs=`curl http://localhost:${solr_port}/solr/update -s -d ""` 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 ""` +rs=`curl http://localhost:${solr_port}/solr/update -s -d ""` if [[ $? != 0 ]] then logMessage failed to connect to Solr server at port ${solr_port}