Shards allocation across nodes

How shards are allocated across nodes.If I have 2 nodes where index contains primary shards : 3 and Replica shards : 2. My index is showing yellow color. Is it allocates all primary shards in 1st node and all replica shards in 2nd node.

Have you read thru this -> ?

thanks for the link but the link explains about dynamic settings, I want to know how elastic search allocate shards by default

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