Python
import requests url = "https://{FUSION HOST}/api/solrAdmin/{solrApiPath}/{path}" payload = {} headers = {"Content-Type": "*/*"} response = requests.post(url, json=payload, headers=headers) print(response.text)
This response has no body data.
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.
Solr request body.
The body is of type object.
object
Was this page helpful?