There’s the collections API command SPLITSHARD. But is this for functional reasons or are you just experimenting for background information? 2G is a tiny index by recent standards, I routinely see 200G indexes on a replica.
And merging indexes in SolrCloud is a bit tricky, you have to be sure to merge docs in sub-indexes such that the hash value of the ID (or routing) field is congruent with the “range” parameter in the state.json file. This assumes compositeID routing. So unless you thoroughly understand the implications, including and especially the above paragraph, I’d strongly recommend you don’t go into production with indexes you’ve merged. Best, Erick > On Mar 14, 2019, at 11:02 PM, arghya.it87 <arghya.i...@gmail.com> wrote: > > I am experimenting solr cloud 5.2.1 version. I have 3 shards and I use > IndexMergeTool to merge my index in a single directory. Now I have created a > new collection where I have 4 shards and I want to split my index in these 4 > shards. > Is there any IndexSplit tool available or how to do it. > > > > -- > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html