I'm writing a script so that when my SolrCloud setup is slowing down, I can add a new physical machine and run a script to split the shard with the most data and send half of the shard to the new machine. Here's the general thinking I'm following:
- Pick the machine with the most data currently indexed on it. - Add a new machine to replicate that data - Call SPLITSHARD through the Collections API to split that data into two shards - Delete the original shard, so now the 2 subshards exist on both machines - Delete one subshardshard from the original machine, and the other subshard from the new machine. At this point, the data should be more evenly distributed, which will help us continue to scale. This also seems like an easily scriptable process, which is what I'm trying to do. My question is simple. I can call collections?action=SPLITSHARD to split the shards, and collections?action=DELETESHARD to delete the original shard, but how can I then delete (or unload?) one of the subshards from each machine? -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-programatically-unload-a-shard-from-a-single-server-to-horizontally-scale-on-SolrCloud-tp4105343.html Sent from the Solr - User mailing list archive at Nabble.com.