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
Retrieve aliases api doesn't always include 'aliases' section #9148
Comments
@colings86 please take a look at this |
Thanks @colings86! |
colings86
added a commit
that referenced
this issue
Jan 8, 2015
This fix ensures that calls to the GET alias/mappings/settings/warmers APIs return the aliases/mappings/settings/warmers object even if there is no content within them.. This make them consistent with the GET Index API docs and the breaking changes in 1.4 docs Closes #9148
colings86
added a commit
that referenced
this issue
Jan 8, 2015
This fix ensures that calls to the GET alias/mappings/settings/warmers APIs return the aliases/mappings/settings/warmers object even if there is no content within them.. This make them consistent with the GET Index API docs and the breaking changes in 1.4 docs Closes #9148
mute
pushed a commit
to mute/elasticsearch
that referenced
this issue
Jul 29, 2015
This fix ensures that calls to the GET alias/mappings/settings/warmers APIs return the aliases/mappings/settings/warmers object even if there is no content within them.. This make them consistent with the GET Index API docs and the breaking changes in 1.4 docs Closes elastic#9148
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The docs say the
aliases
section is always returned in 1.4:http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.4/indices-aliases.html#alias-retrieving
And the breaking changes for 1.4 say the same thing:
http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.4/breaking-changes-1.4.html
But my testing shows the opposite: the
aliases
section is returned always by pre-1.4 versions, and 1.4 only returns thealiases
section if aliases exist.1.3.1:
1.4.0 and 1.4.2:
Are the docs wrong or is the behavior wrong? (Or maybe I'm wrong)
The text was updated successfully, but these errors were encountered: