title: Elastic Search - Node failures
body: <p>As I understand from the documentation, when a node goes down, elastic search <em>automatically</em> creates primary or replica shards on all other nodes to address the failure of the node. </p>
  
  <p>However, what happens if the nodes comes up - will those shards are "automatically" removed created on other node as the machine comes up - say , in a cluster with <em>3 nodes</em> , node 1 which contains 1 primary shard of <em>index 1</em> , and one replica shard of <em>index 2</em> . If node 1 goes down, the ES <em>automatically</em> creates the primary shard , replica shard in either of the available nodes   </p>