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