Get a synonym set
- GET /_synonyms/{id}
- Cluster privileges:
manage_search_synonyms
Path Parameters
-
idstring Idrequired -
The synonyms set identifier to retrieve.
Query Parameters
-
fromnumber · default: 0 The starting offset for synonym rules to retrieve.
-
sizenumber · default: 10 The max number of synonym rules to retrieve.
-
search_afterstring The synonym rule ID to use as a cursor for pagination. The next page of results will start after this rule ID. This parameter cannot be used with
from.
Response
application/json
-
countnumberrequired -
The total number of synonyms rules that the synonyms set contains.
-
synonyms_setSynonymRuleReadrequired -
Synonym rule details.