Folks:

I do not want to hardcode the masterUrl in the solrconfig.xml of my slave.  If 
the masterUrl tag is missing from the config file, I am getting an exception in 
solr saying that the masterUrl is required.  So I set it to some dummy value,  
comment out the poll interval element,  and issue a replication command 
manually like so:

http://localhost:port/postings/replication?command=fetchIndex&masterUrl=http://localhost:port/postingsmaster/replication

Now no internal exception,  solr responds with a status "OK" for the above 
request,  the tomcat logs show no error but the index is not replicated.  When 
I issue the details command to the slave,  I see that it ignored the masterUrl 
on the command line but instead complains that the master url in the config 
file (which I had set to a dummy value) is not correct.

(Just fyi, I have tried sending in the masterUrl to the above command with url 
encoding and also without.  in both cases, I got the same result.)

Soooo....how exactly do I avoid hardcoding the masterUrl in the config file?  
Any pointers/help will be greatly appreciated!

- Bill

Reply via email to