If you start 10 nodes and have 10 shards to allocate, elasticsearch will most likely do what you are expecting: 1 shard per node. So you don’t really need to define any setting but just use elasticsearch defaults which are good most of the time.
-- David Pilato | Technical Advocate | Elasticsearch.com @dadoonet <https://twitter.com/dadoonet> | @elasticsearchfr <https://twitter.com/elasticsearchfr> | @scrutmydocs <https://twitter.com/scrutmydocs> > Le 14 janv. 2015 à 10:59, Umutcan <[email protected]> a écrit : > > Hi, > > I have a question regarding balance settings of Elasticsearch. I have 10 > nodes and each index has 10 shards (5 primary, 5 replica). I want for all > nodes to have only 1 shard of an index. The documents explains some settings > here <x-msg://4/[email protected]> to do this, but I am not > sure what values to use. Is it a good idea to set 1.0 first three settings? > Is there any possible problems if I change these settings? > > Best, > > Umutcan > > -- > 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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/54B63E16.5050608%40gamegos.com > > <https://groups.google.com/d/msgid/elasticsearch/54B63E16.5050608%40gamegos.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/05274FAC-8C3B-41DA-A0B5-6F47A6589C45%40pilato.fr. For more options, visit https://groups.google.com/d/optout.
