[ 
https://issues.apache.org/jira/browse/SOLR-3755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13564188#comment-13564188
 ] 

Shalin Shekhar Mangar commented on SOLR-3755:
---------------------------------------------

I'm planning to split the "split" API into a high-level collections API and a 
low-level core admin API.

The low level core admin API may not be solr cloud aware but would work 
completely on a single node. This way, a non solr cloud aware node can also 
make use of a split index feature.

The Core Admin command may be invoked as:
{code}http://host:port/solr/admin/cores?core=<core_name>&action=SPLIT&path=/path/1&path=/path/2&path=/path/3{code}

or, as:
{code}http://host:port/solr/admin/cores?core=<core_name>&action=SPLIT&targetCore=core1&targetCore=core2{code}

The "path" and "targetCore" parameter is multi-valued and the collection will 
be split into as many number of sub-shards as the number of "path" values.

The collections api may be invoked as follows:
{code}http://host:port/solr/admin/collections?action=SPLIT&shard=<shard_1>&shard=<shard_2>{code}

Sometimes, shard names are automatically assigned by SolrCloud and it may be 
more convenient for users to specify shards by shard keys instead of shard 
names e.g.
{code}http://host:port/solr/admin/collections?action=SPLIT&shard.keys=shardKey1,shardKey2{code}
                
> shard splitting
> ---------------
>
>                 Key: SOLR-3755
>                 URL: https://issues.apache.org/jira/browse/SOLR-3755
>             Project: Solr
>          Issue Type: New Feature
>          Components: SolrCloud
>            Reporter: Yonik Seeley
>         Attachments: SOLR-3755.patch, SOLR-3755.patch
>
>
> We can currently easily add replicas to handle increases in query volume, but 
> we should also add a way to add additional shards dynamically by splitting 
> existing shards.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to