well, I guess it depends of the number of shards, number of replicas 
settings you may have.

say you have 5 shards, 1 replica in your settings.

if you have two nodes up&running, you should have 5 shards in each one.

among those shards, some of them will be primary, some of them will be 
replicas. index ops can only be done in primary shards, read ops can be 
done in either primary shard or replica shard

but which shard is in which node is up to elasticsearch, it can be 3 
primary shards and 2 replica shards on the first node, and the other way 
around on the second, for instance.

there are some tweaks you can do, like shard allocation and the awareness 
setting.

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-cluster.html


On Tuesday, March 11, 2014 11:36:27 AM UTC-4, Michael Lussier wrote:
>
> Are you positive you have two nodes up and running? This should be a green 
> state with 2 nodes, 2 shards, 1 replica. 
>
>
>
> ----- 
>
>                                  
> -- 
> View this message in context: 
> http://elasticsearch-users.115913.n3.nabble.com/Is-there-any-way-to-force-Replica-inside-particular-Node-tp4051537p4051560.html
>  
> Sent from the ElasticSearch Users mailing list archive at Nabble.com. 
>

-- 
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/75ea93b7-422e-4b50-af5e-90e652578d7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to