-
Notifications
You must be signed in to change notification settings - Fork 107
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
[BUG] Malfunctioning/confusing/redundant Index template method #151
Comments
Deprecate the method in a minor release and remove in major. |
Would we consider this to be a "breaking" change rather than a bugfix if the method points to a nonexistent API in OpenSearch? |
So the method never worked (aka produced an error)? If so removing it is fine as a bugfix. |
FYI: The |
If this issue is still relevant, I would like to solve it. |
@whym9 how is this issue affecting you? As already mentioned both APIs still exist and both work. I personally don´t see this as a bug. IMO we should add some sort of deprecation warning/comment to the request type linking/referring to the request type for the |
If this issue is still relevant, I would like to solve it. |
Thank you @tannerjones4075! Assigning this to you. |
This issue can be closed because the issue has been resolved: #390 |
The Go client contains two methods for using index templates. One of them,
opensearchapi.IndicesPutTemplateRequest,
uses a nonexistent legacy REST API (/_template
).In OpenSearch v1.x and v2.x the correct REST API is
/_index_template
, which is accessible by the correct methodopensearchapi.IndicesPutIndexTemplateRequest
.I would propose we remove the legacy method, which is confusing and points to an unsupported API.
The text was updated successfully, but these errors were encountered: