Python
import requests url = "https://{FUSION HOST}/api/query-rewrite/export/{id}" headers = {"Authorization": "Basic <encoded-value>"} response = requests.get(url, headers=headers) print(response.text)
{}
Export all query rewrite documents from a Solr collection.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The query rewrite ID.
OK
The response is of type object.
object
Was this page helpful?