Elasticsearch - One node

Hello,

I just read the article https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html
and it is not very clear to me, what configuration we should have for a cluster with one machine (the same machien that does client, master and data)...

node.master: ?
node.data: ?

Thank you!

Alina

you can set both to TRUE to have a single node cluster.

Hello, Alina;
I am sure you have to have both in a single-node cluster. Without a master node, the cluster will not form (no cluster management), and without a data node, shards will remain unassigned (no node to store them).
Cheers,
woodenmo

By default a node is both a master and a data node, so you shouldn't need to do anything.

It mentions that at the bottom of the first section;

By default a node is both a master-eligible node and a data node.