Currently, switching search traffic between datacenter requires a change in wmf-config. Traffic routing should be dynamic configuration, and should be extremely easy / fast to change in case of need.
It has been suggested to use etcd as a dynamic configuration store for this kind of configuration.
https://wikitech.wikimedia.org/wiki/Incident_documentation/20160818-Elasticsearch