You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2014/02/06 15:58:10 UTC
[jira] [Comment Edited] (SOLR-5130) Implement addReplica
Collections API
[ https://issues.apache.org/jira/browse/SOLR-5130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13893410#comment-13893410 ]
Shalin Shekhar Mangar edited comment on SOLR-5130 at 2/6/14 2:56 PM:
---------------------------------------------------------------------
Supported Parameters:
# collection
# shard (optional)
# node
# _route_ (optional)
# name - the core name (optional)
# 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.
was (Author: shalinmangar):
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org