Menu
Create or update a synonym rule
Create or update a synonym rule
PUT
/_synonyms/{set_id}/{rule_id}Use it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Create or update a synonym rule action (under synonyms).
- Fill in the fields below, then reference the result from later steps as
{{createOrUpdateASynonymRule.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"synonyms": null
}
Response
Returns 200 with an object. Read it in later steps with {{createOrUpdateASynonymRule.response.data.<field>}}.
{
"result": null,
"reload_analyzers_details": null
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?