[ 
https://issues.apache.org/jira/browse/SOLR-4697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13627929#comment-13627929
 ] 

Mark Miller commented on SOLR-4697:
-----------------------------------

So basically, my thinking is that zkhost needs to be like solr.home. It's a 
similar level prop. It could either be set the same way, or perhaps there is 
some other mechanism.

Off the top of my head, if you have a solr.properties file in solr.home, they 
are used in addition to cmd line sys props. 
                
> add 'zkHost="${zkHost}"' to example solr.xml and deprecate hardcoded check 
> for zkHost system property
> -----------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-4697
>                 URL: https://issues.apache.org/jira/browse/SOLR-4697
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Hoss Man
>
> Similar to the work done in SOLR-4622 related to hostContext and hostPort, we 
> should do a better job of advertising the zkHost setting in solr.xml and 
> deprecate the explicit check for a zkHost property in SolrCore.initZooKeeper 
> -- so that it still works in 4.x with a warning, but in 5.0 zkHost must be 
> specified in solr.xml, even if it's just to refer to a sys property with the 
> same name

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to