-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Set alias for an index with annotation upon creation. #2599
Comments
@sothawo Let me know if this is accepted. I can develop it and create PR. |
That would be possible. How would you define the attributes in the |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
I am on a 3 weeks vacation and have not been able to look any closer at it, but yes that could be a good solution. |
https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html
The request body for index creation takes a mapping object, a setting object and an alias object. Today we can define the mapping and setting by annotation upon index creation.
It would be nice to be able to do this for alias as well.
@alias annotation to define aliases when creating index.
The text was updated successfully, but these errors were encountered: