After Create ElasticSearch Cluster with 3 nodes as master and data nodes , how to access apis of elasticssearch to aggregate , insert and update?

After Create ElasticSearch Cluster with 3 nodes as master and data nodes , how to access apis of elasticssearch to aggregate , insert and update?

What did you try so far?

1 Like

This practical introduction to Elasticsearch might be useful.

1 Like

@dadoonet @Christian_Dahlqvist after create the cluster how , which node my code will deal with to insert to elastic?
We must use loadbalancing to distribute insertion over all nodes?
My cluster contains only three nodes they are master and data nodes same time and have the same indexes.
I need to know in which index I will insert and how?
And how I will search?

Any node in the cluster can accept requests - index or search - and will pass those requests onto the node that needs to execute them.

It can make sense to use a load balancer, or if you are interacting with the cluster via code, use one of our clients which will handle this for you.

1 Like

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