Jan Høydahl created SOLR-7735:
---------------------------------

             Summary: Look for solr.xml in Zookeeper by default
                 Key: SOLR-7735
                 URL: https://issues.apache.org/jira/browse/SOLR-7735
             Project: Solr
          Issue Type: Improvement
          Components: SolrCloud
    Affects Versions: 5.2.1
            Reporter: Jan Høydahl
             Fix For: 5.3


In SOLR-4718 support was added for reading {{solr.xml}} from ZK by providing 
system property {{solr.solrxml.location=zookeeper}}. If this property is not 
specified, solr.xml is read from SOLR_HOME. This issue is a spinoff from 
SOLR-7727 where start scripts do not support solr.xml in ZK.

Instead of adding this to start scripts, suggest to simplify the whole logic:
* If not in cloud mode, require {{solr.xml}} in SOLR_HOME as today
* If in cloud mode, first look for {{solr.xml}} in ZK, but if not found, load 
from SOLR_HOME as today
* Remove the need for {{solr.solrxml.location}} property



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to