Delete a synonym rule

Auth

Delete a synonym rule from a synonym set.

Required authorization

Cluster privileges manage_search_synonyms

Path parameters

set_id string required

The ID of the synonym set to update.

rule_id string required

The ID of the synonym rule to delete.

Response

application/json
result enum required

The update operation result.

Values: created updated deleted not_found noop
reload_analyzers_details object

Updating synonyms in a synonym set can reload the associated analyzers in case refresh is set to true. This information is the analyzers reloading result.

reload_details object[] required
index string required
reloaded_analyzers string[] required
reloaded_node_ids string[] required
_shards object required
failed number required

The number of shards the operation or search attempted to run on but failed.

successful number required

The number of shards the operation or search succeeded on.

total number required

The number of shards the operation or search will run on overall.

failures object[]
index string
node string
reason object required
type string required

The type of error

reason union string nullable

A human-readable explanation of the error, in English.

One of: string
stack_trace string

The server stack trace. Present only if the error_trace=true parameter was sent with the request.

caused_by object
Same fields as reason in failures
root_cause object[]
Same fields as reason in failures
suppressed object[]
Same fields as reason in failures
shard number
status string
primary boolean
skipped number