lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Solr Master/Slave setup issue
Date Tue, 28 Aug 2012 18:44:01 GMT

:     		<str name="enable">${enable.slave:false}</str>
:    			<str
: name="masterUrl">http://localhost:8080/ndxservice/registry/replication</str>
	...
: In above config, I did the enable/disable of solr/master using
: solrcore.properties file,
: but I want set up the masterUrl from java code or my app setting.xml. How it
: is really possible?

exactly the same way, something like...

<str name="masterUrl">${master.replication.url:http://default-url:8080/solr/replication}</str>

...and then specify master.replication.url at run time the same way you 
specify enable.slave.



-Hoss

Mime
View raw message