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.
Documentation IndexFetch the complete documentation index at: https://doc.lucidworks.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt
Use this file to discover all available pages before exploring further.
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?