Hi Yago & Shawn, 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?
On Wed, Feb 18, 2015 at 9:25 PM, Shawn Heisey <apa...@elyograg.org> wrote: > On 2/18/2015 8:17 AM, Nitin Solanki wrote: > > I have created 4 nodes having 8 shards. Now, I want to divide > those > > 4 Nodes into 100 Nodes without any failure/ or re-indexing the data. Any > > help please? > > I think your only real option within a strict interpretation of your > requirements is shard splitting. You will probably have to do it > several times, and the resulting core names could get very ugly. > > > https://cwiki.apache.org/confluence/display/solr/Shards+and+Indexing+Data+in+SolrCloud#ShardsandIndexingDatainSolrCloud-ShardSplitting > > Reindexing is a LOT cleaner and is likely to work better. If you build > a new collection sharded the way you want across all the new nodes, you > can delete the old collection and set up an alias pointing the old name > at the new collection, no need to change any applications, as long as > they use the collection name rather than the actual core names. The > delete and alias might take long enough that there would be a few > seconds of downtime, but that's probably all you'd see. Both indexing > and queries would work with the alias. > > > https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-DeleteaCollection > > > https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-CreateormodifyanAliasforaCollection > > Thanks, > Shawn > >