Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-3617: minor issue if the user selects a port that is in use for the cloud example.

Timothy Potter75ed12e0c7b1
diff --git a/solr/bin/solr b/solr/bin/solr
index c624db751e7..939a2bb2713 100755
--- a/solr/bin/solr
+++ b/solr/bin/solr
@@ -567,6 +567,7 @@ if [ "$EXAMPLE" != "" ]; then
SOLR_MODE="solrcloud"
SOLR_SERVER_DIR="$SOLR_TIP/node1"
SOLR_HOME="$SOLR_SERVER_DIR/solr"
+ SOLR_PORT=${CLOUD_PORTS[0]}
shift
;;
default)