Skip to main content
GET
/
solrAdmin
/
{solrApiPath}
/
{path}
Send a Solr command
import requests

url = "https://{FUSION HOST}/api/solrAdmin/{solrApiPath}/{path}"

response = requests.get(url)

print(response.json())
{
  "responseHeader": {
    "status": 0,
    "QTime": 1
  },
  "solr-mbeans": [
    "CORE",
    {
      "searcher": {
        "class": "org.apache.solr.search.SolrIndexSearcher",
        "version": "1.0",
        "description": "index searcher",
        "src": null
      },
      "core": {
        "class": "collection1",
        "version": "1.0",
        "description": "SolrCore",
        "src": null
      },
      "Searcher@435cf502[collection1] main": {
        "class": "org.apache.solr.search.SolrIndexSearcher",
        "version": "1.0",
        "description": "index searcher",
        "src": null
      }
    }
  ]
}

Path Parameters

solrApiPath
string
required

The Solr API Path.

path
string
required

The path to the Solr command to run.

Response

200 - application/json

successful operation

Solr metadata output