Synonyms
- class elasticsearch.client.SynonymsClient(client)
- Parameters:
client (BaseClient)
- delete_synonym(*, id, error_trace=None, filter_path=None, human=None, pretty=None)
Deletes a synonym set
https://www.elastic.co/guide/en/elasticsearch/reference/8.16/delete-synonyms-set.html
- delete_synonym_rule(*, set_id, rule_id, error_trace=None, filter_path=None, human=None, pretty=None)
Deletes a synonym rule in a synonym set
https://www.elastic.co/guide/en/elasticsearch/reference/8.16/delete-synonym-rule.html
- get_synonym(*, id, error_trace=None, filter_path=None, from_=None, human=None, pretty=None, size=None)
Retrieves a synonym set
https://www.elastic.co/guide/en/elasticsearch/reference/8.16/get-synonyms-set.html
- get_synonym_rule(*, set_id, rule_id, error_trace=None, filter_path=None, human=None, pretty=None)
Retrieves a synonym rule from a synonym set
https://www.elastic.co/guide/en/elasticsearch/reference/8.16/get-synonym-rule.html
- get_synonyms_sets(*, error_trace=None, filter_path=None, from_=None, human=None, pretty=None, size=None)
Retrieves a summary of all defined synonym sets
https://www.elastic.co/guide/en/elasticsearch/reference/8.16/list-synonyms-sets.html
- put_synonym(*, id, synonyms_set=None, error_trace=None, filter_path=None, human=None, pretty=None, body=None)
Creates or updates a synonym set.
https://www.elastic.co/guide/en/elasticsearch/reference/8.16/put-synonyms-set.html
- put_synonym_rule(*, set_id, rule_id, synonyms=None, error_trace=None, filter_path=None, human=None, pretty=None, body=None)
Creates or updates a synonym rule in a synonym set
https://www.elastic.co/guide/en/elasticsearch/reference/8.16/put-synonym-rule.html