Elasticsearch python client

(Nahid) #1


I'm new in elasticsearch. we have a 7 node elasticsearch production state cluster and all of them are master, data and coordinator node. I'm wondering how to balance requests to avoid one server be the only gateway query node.
Does python client do it by it self when we pass multiple server to it? or I have to handle it by my self?


(Igor Motov) #2

It does load-balancing if you pass multiple nodes to it or allow it to discover all nodes in the cluster via "sniffing". See http://elasticsearch-py.readthedocs.io/en/master/#persistent-connections for more details.

(system) #3

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