[ 
https://issues.apache.org/jira/browse/SOLR-5130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shalin Shekhar Mangar updated SOLR-5130:
----------------------------------------

    Attachment: SOLR-5130.patch

Supported Parameters:
# collection
# shard (optional)
# node
# _route_ (optional)
# name - the core name
# instanceDir (optional)
# dataDir (optional)

The collection.configName is looked up and passed along to the core admin 
create. If name is not specified then it is assigned. I intend to auto-assign 
shard as well if neither shard nor _route_ is specified but that is not 
implemented yet.

I'm working on the tests.


> Implement addReplica Collections API
> ------------------------------------
>
>                 Key: SOLR-5130
>                 URL: https://issues.apache.org/jira/browse/SOLR-5130
>             Project: Solr
>          Issue Type: Sub-task
>          Components: SolrCloud
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 5.0, 4.7
>
>         Attachments: SOLR-5130.patch
>
>
> addReplica API will add a node to a given collection/shard.
> Parameters:
> # node
> # collection
> # shard (optional)
> # _route_ (optional) (see SOLR-4221)
> If shard or _route_ is not specified then physical shards will be created on 
> the node for the given collection using the persisted values of 
> maxShardsPerNode and replicationFactor.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to