Get a synonym rule

Auth

Get 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 retrieve the synonym rule from.

rule_id string required

The ID of the synonym rule to retrieve.

Response

application/json
id string required

The identifier for the synonym rule. If you do not specify a synonym rule ID when you create a rule, an identifier is created automatically by Elasticsearch.

synonyms string required

The synonyms that conform the synonym rule in Solr format.