Hi community,
I have 4 hosts to dedicate to Elasticsearch, what is the best distribution of master and data nodes as well as primary shards and replicas?
thanks
Make them all master and data nodes. However you really need an odd number of nodes here, as the majority of 3 is 4, so you can only survive one node being lost.
As for sharding, it depends on your data type, size and volume.