What if change index.number_of_shards(increase/decrease)?


(Jun Liu) #1

If change this setting and restart the cluster, what's the side effect?

Is it will only take effect on new index?

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(David Pilato) #2

No effect on existing indices.
Will be applied for new ones.

That said, I'd prefer using templates then modifying elasticsearch.yml file on each node.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 31 oct. 2013 à 04:25, Jun Liu junliu44@gmail.com a écrit :

If change this setting and restart the cluster, what's the side effect?

Is it will only take effect on new index?

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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3