Python
import requests url = "https://{FUSION HOST}/api/solrAdmin/{solrApiPath}/{path}" response = requests.get(url) print(response.text)
{ "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 } } ] }
Issue a Solr command to the search cluster.Note that because one searchCluster may host several collections, it is not recommended to use this with a collection-level command (such as a query, or document update).
The Solr API Path.
The path to the Solr command to run.
successful operation
Solr metadata output
Was this page helpful?