Why do you want to do that? All shards have about the same load unless you use 
_primary or _local preference.
primary or replica is just a boolean attribute on a shard, right?

-- 
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr


Le 17 janvier 2014 at 08:05:46, Amit Soni (amitson...@gmail.com) a écrit:

Hello everyone - I have been looking at shard allocation awareness and trying 
to see if there is a way I can specify "do not assign primary shards to these 
set of nodes".

any idea how this can be achieved? thanks much!

-Amit.
--
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/CAAOGaQKS6XYcdfXd2Gfmj60d6aVG%3Dxb0%3DOoe-8gbRyc2SdBBWQ%40mail.gmail.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/etPan.52d8e081.333ab105.dc5%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to