Re: question for rule based replica placement

2018-09-02 Thread Wei
Thanks Erick. Suppose I have 5 hosts h1,h2,h3,h4,h5 and want to create a 5X2 solr cloud of 5 shards, 2 replicas per shard. On each host I will run two solr JVMs, each hosts a single solr core. Solr's default 'snitch' provide a 'host' tag, so I wonder if I can use it to prevent any host from have t

Re: question for rule based replica placement

2018-09-02 Thread Erick Erickson
You need to provide a "snitch" and define a rule appropriately. This is a variant of "rack awareness". Solr considers two JVMs running on the same physical host as completely separate Solr instances, so to get replicas on different hosts you need a snitch etc. Best, Erick On Sun, Sep 2, 2018 at 4