In addition to default SOLR Core Admin API actions, Alfresco SOLR provides several actions that can be executed via HTTP requests that specify an action parameter, with additional action specific arguments provided as additional parameters.
The Base URL for every action is: http://localhost:8983/solr/admin/cores?action=<action>
Note:
<action> is the name of the action to be
invoked.
By default, responses are expressed in XML but if you add the URL parameter wt=json the response will be in JSON.
Every action response includes a responseHeader with the execution time and the status of the request.
"responseHeader": { "QTime": 1, "status": 0 } }
Note: When the status is 0, the request has been
executed successfully. You do need to review all additional nodes in the response to
check they also executed successfully. When the status isn’t 0, the
server logs contain an internal error raised by the request.