Solr 1.4 requestHandler "update" Runtime disable/enable

2011-02-14 Thread gzyl

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.


Re: Solr 1.4 requestHandler "update" Runtime disable/enable

2011-02-15 Thread gzyl

Ok.
I can set it so:
 

But how without restarting Tomcat can I change solr.enable.master from true
to false ??

>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. 

I have a buffer in the application. So I do not have it off. 
I have to switch automatically, without administrator intervention.

Application is switching from one location to other and solr must
automatically follow the application.



-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-1-4-requestHandler-update-Runtime-disable-enable-tp2493745p2500603.html
Sent from the Solr - User mailing list archive at Nabble.com.