bq: it down will either reduce your result set or cause queries to
return an error....

Setting shards.tolerant=true will reduce your result set. If you don't set that
and all replicas of a shard are down, you'll get an error.

And indexing won't work if all the replicas for a shard are down.

Best,
Erick


On Thu, Apr 16, 2015 at 7:46 AM, Shawn Heisey <apa...@elyograg.org> wrote:
> On 4/16/2015 8:27 AM, Oded Sofer wrote:
>> How can I detach node from SolrCloud (temporarily for maintenance and such 
>> and attach it back after some time). We are using SolrCloud 4.10.0; One 
>> Collection, and Shard per node.
>> The add-index is routed to specific machine base on our customize routing 
>> logic (kind of hard-coded)
>
> I assume this is just one replica out of multiple ... if that's the
> case, just shut the node down, do your maintenance, and bring it back
> online.  SolrCloud will automatically make sure the index replica(s) on
> the node are brought up to date to match the others.
>
> If it's not one replica of multiple (that is, if it has the only copy of
> one or more shards), then shutting it down will either reduce your
> result set or cause queries to return an error, not sure which.
>
> Thanks,
> Shawn
>

Reply via email to