Okay, thanks Shawn.. On Thu, Feb 19, 2015 at 7:59 PM, Shawn Heisey <apa...@elyograg.org> wrote:
> On 2/19/2015 4:18 AM, Nitin Solanki wrote: > > Sorry, I think, you both are taking about > > shard splitting but I want node splitting. I have 4 nodes. Each node has > 2 > > shards, So, Now, I want 100 Nodes from that 4 nodes and each having 2 > > shards. Any Ideas? > > Node splitting does not exist as a discrete command, but shard splitting > is the first step in node splitting. The full procedure would be: > > *) Split one or more shards. Wait for that to complete. > *) Do the ADDREPLICA action for some of the new shards to other hosts. > *) Wait for the replication to the new core(s) to complete > *) Do the DELETEREPLICA action for those shards on the original hosts. > *) Delete the originally-split shard(s) at your leisure. > > The overall procedure will be labor intensive and might be prone to > error, plus as already mentioned, the core names might become very > convoluted. It is MUCH cleaner to reindex into a new collection. > > Thanks, > Shawn > >