Elasticsearch Reads

Is there a setting in elasticsearch such that reads should be routed to replicas only and if replica isn't available then only it should be directed to primary?

I know we have a option _replica_first in request body but I want such setting to be default so that I can direct my kibana queries to replica first.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.