Is it possible to run replica and primary shard on a single node. I have mounted three volumes and configured the same in data.path
. I tried adding replicas with
PUT /_settings
{
"index" : {
"number_of_replicas" : 2
}
}
But my cluster state turned yellow and replicas were not added. How can I achieve this?