title: how to fix unassigned shards in elastic search
body: <p>how to fix unassigned shards in elastic search.
  curl -XGET "<a href="http://localhost:9200/_cluster/allocation/explain" rel="nofollow noreferrer">http://localhost:9200/_cluster/allocation/explain</a>"</p>
  
  <p>I have updated the setting in elasticsearch but getting following logs</p>
  
  <p>[2018-06-10T10:35:59,962][DEBUG][o.e.a.a.c.a.TransportClusterAllocationExplainAction] [node-1] explaining the allocation for [ClusterAllocationExplainRequest[useAnyUnassignedShard=true,includeYesDecisions?=false], found shard [[books][4], node[null], [R], recovery_source[peer recovery], s[UNASSIGNED], unassigned_info[[reason=CLUSTER_RECOVERED], at[2018-06-10T05:04:51.465Z], delayed=false, allocation_status[no_attempt]]]</p>