Create or update a synonym rule
Create or update a synonym rule in a synonym set.
If any of the synonym rules included is invalid, the API returns an error.
When you update a synonym rule, all analyzers using the synonyms set will be reloaded automatically to reflect the new rule.
Required authorization
- Cluster privileges manage_search_synonyms
Request body
-
synonymsstringrequired -
The synonym rule information definition, which must be in Solr format.
- Reference
Response
application/json