[
https://issues.apache.org/jira/browse/SOLR-5606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14646234#comment-14646234
]
Timothy Potter commented on SOLR-5606:
--------------------------------------
So if I want to add a replica to a specific collection, what's the endpoint?
{code}
curl -XPOST -H 'Content-type:application/json' --data-binary '{ "add-replica":{
"shard":"shard1", "node":"192.168.0.1_solr"} }'
http://localhost:8983/solr/<collection>/admin
{code}
or
{code}
curl -XPOST -H 'Content-type:application/json' --data-binary '{ "add-replica":{
"shard":"shard1", "node":"192.168.0.1_solr"} }'
http://localhost:8983/solr/collections/admin/gettingstarted
{code}
> REST based Collections API
> --------------------------
>
> Key: SOLR-5606
> URL: https://issues.apache.org/jira/browse/SOLR-5606
> Project: Solr
> Issue Type: Improvement
> Components: SolrCloud
> Reporter: Jan Høydahl
> Priority: Minor
> Fix For: Trunk
>
>
> For consistency reasons, the collections API (and other admin APIs) should be
> REST based. Spinoff from SOLR-1523
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]