[
https://issues.apache.org/jira/browse/SOLR-11028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17623916#comment-17623916
]
Joshua Ouma commented on SOLR-11028:
------------------------------------
On testing the API using
{code:java}
curl -X POST -H "Content-type: application/json" -H "Accept: application/json"
"http://localhost:8983/api/nodes/7574_solr/commands/replace/" -d
'{"targetNodeName": "solr_8983"}'{code}
I'm getting the error
{code:java}
{"responseHeader":{"status":404,"QTime":2},"error":{"metadata":{"error-class":"org.apache.solr.common.SolrException","root-error-class":"org.apache.solr.common.SolrException"},"msg":"Cannot
find API for the path: /nodes/7574_solr/commands/replace/","code":404}}{code}
Can't get why the API isn't discoverable. Could it be I missed a step in using
JAX-RS/Jersey
> Create a v2 API equivalent for REPLACENODE API
> ----------------------------------------------
>
> Key: SOLR-11028
> URL: https://issues.apache.org/jira/browse/SOLR-11028
> Project: Solr
> Issue Type: Sub-task
> Components: SolrCloud, v2 API
> Reporter: Shalin Shekhar Mangar
> Priority: Major
>
> The REPLACENODE API is only implemented as part of the v1 collections API.
> There should be an equivalent call in the v2 paradigm.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]