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: SolrCloud - Shard splitting and re-sizing nodes
Date Fri, 12 Dec 2014 19:38:55 GMT
A couple of options:
1> physically copy the index over
2> (what I prefer) is to use the ADDREPLICA
command from the Collections API to bring
up a new node on the new machine as a replica
of one of your splits. It'll automatically synchronize,
and after it's done then shut down the original split.

Best,
Erick

On Fri, Dec 12, 2014 at 1:25 PM, Trilok Prithvi
<trilok.prithvi@gmail.com> wrote:
> Hello,
>
> We have a 2 shards (S1, S2), 2 replica (R1, R2) setup (Solr Cloud) using
> 4.10.2 version. Each shard and replica resides on its own nodes (so, total
> of 4 nodes).
>
> As the data increased, we would like to split the shards. So, we are
> thinking about creating 4 more nodes (2 for shards (S3, S4) and 2 for
> replicas).
>
> If I do "SPLITSHARD", it splits and keeps the data on the same node. How do
> we split the shard and migrate to the new nodes (S3 and S4)?
>
> Thanks!
> Trilok

Mime
View raw message