clear method
Leave feedback
On this page
Removes all character replacements from the dictionary.
def clear(self):
...
| Raises | Description |
|---|---|
RuntimeError |
The call changes the dictionary of an index that contains documents, is not in the IndexStatus.ready status or is disposed. |
# Delete all character replacements from the index's dictionary
index.dictionaries.character_replacements.clear()
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.