-
Notifications
You must be signed in to change notification settings - Fork 25k
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
[docs] High-level REST client : incomplete docs #31499
Labels
Comments
Pinging @elastic/es-core-infra |
[doc-issue-triage] |
timoninmaxim
added a commit
to timoninmaxim/elasticsearch
that referenced
this issue
Feb 9, 2020
probakowski
pushed a commit
that referenced
this issue
Feb 24, 2020
probakowski
pushed a commit
to probakowski/elasticsearch
that referenced
this issue
Feb 24, 2020
probakowski
added a commit
that referenced
this issue
Feb 24, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the high level REST client, a client specific response has been create for the get alias API that holds not only the aliases but also an error message, an exception and the status as part of the response.
For this API the rest client always returns a response ( even when an exception occurs, it is parsed and set in the response ). Should the docs be extended and clarify that the users should analyze the response in order to determine if an exception has occurred on the server or not?
Currently the docs refer only to the aliases :
elasticsearch/docs/java-rest/high-level/indices/get_alias.asciidoc
Lines 84 to 94 in c4f8df3
elasticsearch/client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/IndicesClientDocumentationIT.java
Lines 1772 to 1774 in c4f8df3
#30536 : discusses the current get aliases API
#28799 : added the get aliases API to the high level REST client and introduced the client specific response
The text was updated successfully, but these errors were encountered: