Loading

stack es synonyms put-synonym cli command

Auth required Idempotent Scope: global
elastic stack es synonyms put-synonym \
  --id <id> \
  --synonyms-set <synonyms-set> \
  [options]
		

Create or update a synonym set.

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--id string required
The ID of the synonyms set to be created or updated.
--synonyms-set string required

The synonym rules definitions for the synonyms set.

Repeatable: pass --synonyms-set multiple times to supply more than one value

--input-file string
path to a JSON file to use as command input
--[no-]dry-run
validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json

output as JSON