Python
import requests url = "https://{FUSION HOST}/api/collections/{collection}/synonyms/{path}" payload = { "path": "<string>", "state": "NOT_READY" } headers = {"Content-Type": "application/json"} response = requests.put(url, json=payload, headers=headers) print(response.text)
This response has no body data.
Change a synonyms file’s state.
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.
The name of a collection.
The path to a synonyms file.
.*
The file's new path and state.
NOT_READY
READY
NOT_SAVED
Was this page helpful?