[
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: [email protected]
For additional commands, e-mail: [email protected]