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
--idstringrequired- The ID of the synonyms set to be created or updated.
--synonyms-setstringrequired-
The synonym rules definitions for the synonyms set.
Repeatable: pass
--synonyms-setmultiple times to supply more than one value --input-filestring- 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