Right now I have an index with four shards on a single EC2 server, each running on different ports. Now I'd like to migrate three shards to independent servers.
What should I do to safely accomplish this process? Can I just 1. shutdown all four solr instances. 2. copy three shards (indexes) to different servers. 3. launch 4 solr instances on 4 different servers, each with -zKhost specified, pointing to the zookeeper servers. In my impression, zookeeper remembers which shards are leaders. What I plan to do above could not elect the three new servers as leaders. If so, what's the correct way to do it? Thanks, Ming