The synonyms management API provides a convenient way to define and manage synonyms in an internal system index. Related synonyms can be grouped in a "synonyms set".
- Defining inline synonyms in an analyzer definition, which impacts mapping size and can lead to performance issues.
- Using synonyms files, which implies uploading and managing file consistency on all cluster nodes.
Synonyms sets can be used to configure <<analysis-synonym-graph-tokenfilter,synonym graph token filters>> and <<analysis-synonym-tokenfilter,synonym token filters>>.