Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Support Synonyms API #942

Open
atsushi-matsui opened this issue Dec 10, 2024 · 0 comments
Open

[Feature] Support Synonyms API #942

atsushi-matsui opened this issue Dec 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@atsushi-matsui
Copy link

atsushi-matsui commented Dec 10, 2024

Is your feature request related to a problem? Please describe.
The Synonyms API has been GA in Elastic Search 8.13.
I want to support this API in Terraform.

Describe the solution you'd like
I want to create "ec_elasticsearch_ synonyms" as a new resource. This resource reads common synonym files such as the ones below, converts them to the Synonyms API format, and executes create/update requests.

hello, hi
bye, goodbye
test => check

Also, add an option called "synonym" to "elasticstack_elasticsearch_index", and if the resource ID of "ec_elasticsearch_ synonyms" is specified, I would like to execute the Reload search analyzers API to automatically reflect the contents of the dictionary in the index.

Additional context
To reflect new synonyms in an existing document, you need to update the document by running something like reindex.
I would like to add this to the documentation as a note.

@atsushi-matsui atsushi-matsui added the enhancement New feature or request label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant