Create or update a synonym rule Added in 8.10.0
Create or update a synonym rule in a synonym set.
Path parameters
-
The id of the synonym set to be updated with the synonym rule
-
The id of the synonym rule to be updated or created
PUT
/_synonyms/{set_id}/{rule_id}
curl \
-X PUT http://api.example.com/_synonyms/{set_id}/{rule_id} \
-H "Content-Type: application/json" \
-d '{"synonyms":"string"}'