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/04/09 18:17:18 UTC

[jira] [Updated] (SOLR-5132) Implement a modifyCollection API

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

Shalin Shekhar Mangar updated SOLR-5132:
----------------------------------------

    Attachment: SOLR-5132.patch

I added a 'modify' collection API.

Example:
/admin/collections?action=MODIFY&name=collection1&replicationFactor=2&maxShardsPerNode=4&shard.shard2.replicationFactor=5

I'm working on adding a test.

> Implement a modifyCollection API
> --------------------------------
>
>                 Key: SOLR-5132
>                 URL: https://issues.apache.org/jira/browse/SOLR-5132
>             Project: Solr
>          Issue Type: Sub-task
>          Components: SolrCloud
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 4.8, 5.0
>
>         Attachments: SOLR-5132.patch
>
>
> A new “modifyCollection” API will be introduced to:
> # Turn on/off collectionApiMode (see SOLR-5096)
> # Modify values of maxShardsPerNode for the collection
> # Modify value of replicationFactor for entire collection (apply to each and every slice)
> # Modify values of replicationFactor on a per-slice basis



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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