As you are new to all this, I'm wondering what you would like to achieve here or why do you think this is important for your use case. I meant that by default elasticsearch is doing all that reroute thing for you if a node is added or removed so you don't need to take care of that.
To answer, reroute do what documentation describes: it can move a shard to node or allocate a shard which is not yet allocated. -- David Pilato | Technical Advocate | Elasticsearch.com @dadoonet | @elasticsearchfr Le 13 mars 2014 à 20:41:39, Furkan KAMACI (furkankam...@gmail.com) a écrit: Hi; I am new to elasticsearch and not familiar to its terms too. Could anybody explain how elasticsearch reroute mechanism (http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-reroute.html) works internally? Thanks; Furkan KAMACI -- 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 elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a8357b2b-ddf5-4a79-bbba-efe51be2ebb7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.532211e6.6b8b4567.1c8b%40MacBook-Air-de-David.local. For more options, visit https://groups.google.com/d/optout.