In Elasticsearch you can configure five types of nodes:
Let us see how these nodes differ from each other and how to configure them.
A data node in Elasticsearch is responsible for holding the data, segment merging, and query executions. Data nodes are the real work horses of your cluster and need higher configuration than any other type of node in the cluster.
By default, every node is eligible to be a data node. A dedicated data node can be configured by adding the following lines in the
node.data: true node.master: false node.ingest: false
The main benefit of having a dedicated data node is the separation between data and master node.