Thanks Mark for the prompt reply, I have some more doubts
1. Suppose one index is running with 3 shards and 1 replica and other index is running with the cluster settings i.e. 5 shards 2 replica then total 3+1 or 5+2 shards will be available in cluster? I have installed elasticsearch-head plugin but the replica shard is not showing there. For data distribution, replica shard also keeps other index documents or it will be used to keep backup copy of data only. 2. So documents under same index will be split due to sharding and distribute over the shards right ? Can we push all the documents for same index in a particular shard? I don't want to use custom routing as then I need one field value common for all the documents. How can we find out which shard is holding which documents? 3. If I make one index with 2 shards and no replica and the node in cluster holding this 2 shards dies, then will I lose the data, or the data will have a copy in cluster level replica? If I have only 1 replica and the node holds the replica dies then how the backup will happen? -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4d7d0243-dcd1-4ac7-9fef-1d6e44599ea1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
