Skip to content

Apache Lucene open-source search software

SOLR-3889: improve utf-8 test script error message when curl call to Solr fails

Mark Robert Miller94da721fc291
diff --git a/solr/example/exampledocs/test_utf8.sh b/solr/example/exampledocs/test_utf8.sh
index feabbdb4fb8..edfd9720602 100755
--- a/solr/example/exampledocs/test_utf8.sh
+++ b/solr/example/exampledocs/test_utf8.sh
@@ -27,7 +27,7 @@ curl "$URL/select?q=hello&params=explicit&wt=python" 2> /dev/null | grep 'hello'
if [ $? = 0 ]; then
echo "Solr server is up."
else
- echo "ERROR: Solr is not up."
+ echo "ERROR: Could not curl to Solr - is curl installed? Is Solr not running?"
exit 1
fi