lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: question for rule based replica placement
Date Mon, 03 Sep 2018 04:29:33 GMT
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:39 PM Wei <weiwang19@gmail.com> wrote:
>
> Hi,
>
> In rule based replica placement,  how to ensure there are no more than one
> replica for any shard on the same host?   In the documentation there is an
> example rule
>
>         shard:*,replica:<2,node:*
>
> Does 'node' refer to solr instance or actual physical host?  Is there an
> example for defining the physical host?
>
> Thanks,
> Wei

Mime
View raw message