Sure.

  <requestHandler name="/update" class="solr.XmlUpdateRequestHandler" 
enable="${solr.enable.master:true}" />

Then set Java System Property -Dsolr.enable.master=false and restart.

But I don't see why you need to disable it. You will anyway need to stop 
sending updates to the old master yourself. Disabling the handler like this 
will cause an exception if you try to call it because it will not be registered.

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com

On 14. feb. 2011, at 17.42, gzyl wrote:

> 
> Is there a possibility at the runtime to disable or enable of update handler?
> 
> I have two servers and would like to turn off the update handler on master.
> Then replicate master to slave and switch slave to master.
> 
> 
> -- 
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Solr-1-4-requestHandler-update-Runtime-disable-enable-tp2493745p2493745.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to