mirror of https://github.com/apache/lucene.git
SOLR-5129: Add support for changing flag in bin/solr
This commit is contained in:
parent
dfd13624c2
commit
2bc2759bf4
|
@ -1919,6 +1919,10 @@ function launch_solr() {
|
|||
GC_TUNE=($GC_TUNE)
|
||||
fi
|
||||
|
||||
if [ -n "$SOLR_WAIT_FOR_ZK" ]; then
|
||||
WAIT_FOR_ZK_PROP="-DwaitForZk=$SOLR_WAIT_FOR_ZK"
|
||||
SOLR_OPTS+=($WAIT_FOR_ZK_PROP)
|
||||
fi
|
||||
|
||||
# If SSL-related system props are set, add them to SOLR_OPTS
|
||||
if [ "$SOLR_SSL_ENABLED" ]; then
|
||||
|
|
|
@ -48,6 +48,9 @@ REM By default the start script uses "localhost"; override the hostname here
|
|||
REM for production SolrCloud environments to control the hostname exposed to cluster state
|
||||
REM set SOLR_HOST=192.168.1.1
|
||||
|
||||
REM By default Solr will try to connect to Zookeeper with 30 seconds in timeout; override the timeout if needed
|
||||
REM set SOLR_WAIT_FOR_ZK=30
|
||||
|
||||
REM By default the start script uses UTC; override the timezone if needed
|
||||
REM set SOLR_TIMEZONE=UTC
|
||||
|
||||
|
|
|
@ -60,6 +60,9 @@
|
|||
# for production SolrCloud environments to control the hostname exposed to cluster state
|
||||
#SOLR_HOST="192.168.1.1"
|
||||
|
||||
# By default Solr will try to connect to Zookeeper with 30 seconds in timeout; override the timeout if needed
|
||||
#SOLR_WAIT_FOR_ZK="30"
|
||||
|
||||
# By default the start script uses UTC; override the timezone if needed
|
||||
#SOLR_TIMEZONE="UTC"
|
||||
|
||||
|
|
Loading…
Reference in New Issue