Hi Guys,
I have a problem with Solr Master/Slave setup. Please clarify me.
I added the following things in my Master solrconfig.xml

<requestHandler name="/replication" class="solr.ReplicationHandler" >
       <lst name="master">
         <str name="replicateAfter">commit</str>
         <str name="replicateAfter">startup</str>
         <str name="confFiles">schema.xml,stopwords.txt</str>
       </lst>
 </requestHandler>

And I added following things in Slave solrconfig.xml,

<requestHandler name="/replication" class="solr.ReplicationHandler" >
       <lst name="slave">
         <str
name="masterUrl">http://172.16.17.64:8080/ndxservice/registry/replication/</str>
         <str name="pollInterval">00:00:60</str>
       </lst>
</requestHandler>

So, my problem is, I want to avoid the hot coded masterUrl.
It should be coming by dynamically, how it is possible?
Because I am testing with different environment (i.e)BETA,UAT,PROD so I dont
want to change that setting manually for every war.

Thanks,
Guru



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Master-Slave-setup-issue-tp4003667.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to