Type to search.

Get all synonym sets

  • GET /_synonyms
Auth The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Generally available since 8.10 This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

Get a summary of all defined synonym sets.

Required privileges

Cluster privileges manage_search_synonyms

Query parameters

from number · default: 0

The starting offset for synonyms sets to retrieve.

size number · default: 10

The maximum number of synonyms sets to retrieve.

Response

application/json
count number required

The total number of synonyms sets defined.

results object[] required

The identifier and total number of defined synonym rules for each synonyms set.

synonyms_set string required

Synonyms set identifier

count number required

Number of synonym rules that the synonym set contains