Use the Split shard API to split an existing shard. It splits an
existing shard into 2.
https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api3

You can then split the sub-shards. One thing to note though is that
the Admin UI still doesn't comprehend the difference between active
and inactive shards. You can look at the cluster state to get a better
picture of what shards are active.

Another thing to note would be to use the async mode while splitting a
rather big shard. That would help you overcome the internal timeout
issues of a long running task.

On Tue, Jul 29, 2014 at 2:10 PM, avgxm <gilel...@hotmail.com> wrote:
> Thanks a lot, Shawn.  I have gotten as far as having the core come up per
> your instructions.  Since numShards was set to 1, what is the next step to
> add more shards?  Is it /admin/collections?action=CREATESHARD... or
> something else?  Ultimately, I'd like to have shard1, shard2, shard3, with
> "router":{"name":"compositeId"}, where each core is "leader":"true".
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Copy-existing-index-from-standalone-Solr-to-Solr-cloud-tp4149920p4149934.html
> Sent from the Solr - User mailing list archive at Nabble.com.



-- 

Anshum Gupta
http://www.anshumgupta.net

Reply via email to