On 8/2/2014 2:46 PM, anand.mahajan wrote: > Also, since there are already 18 JVMs per machine - How do I go about > merging these existing cores under just 1 JVM? Would it be that I'd need to > create 1 Solr instance with 18 cores inside and then migrate data from these > separate JVMs into the new instance?
Use the CoreAdmin API (or the ADDREPLICA action on the Collections API, if the Solr version is new enough) to add replicas for all the shards to one of the JVMs. After the new replicas show green on the cloud graph in the admin UI (which indicates that the index has been replicated), unload the old cores (or use the DELETEREPLICA action) so they get removed from the clusterstate, and once they're gone, stop/delete the related JVMs. You'll need some free disk space to complete these steps. Thanks, Shawn