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

REST Reroute request should not return metadata by default #7520

Closed
kimchy opened this issue Aug 30, 2014 · 0 comments
Closed

REST Reroute request should not return metadata by default #7520

kimchy opened this issue Aug 30, 2014 · 0 comments

Comments

@kimchy
Copy link
Member

kimchy commented Aug 30, 2014

The REST endpoint tries to filter the metadata, but uses the wrong constant for it, it uses filter_metadata instead of metadata.

bleskes added a commit to bleskes/elasticsearch that referenced this issue Aug 30, 2014
By default the reroute API should return the new cluster state, excluding the metadata. It was however it was wrongly using an old parameter (filter_metadata) and thus failed to do so. This commits restores but wiring it to the correct `metric` parameter.

Closes elastic#7520
bleskes added a commit that referenced this issue Sep 10, 2014
By default the reroute API should return the new cluster state, excluding the metadata. It was however it was wrongly using an old parameter (filter_metadata) and thus failed to do so. This commits restores but wiring it to the correct `metric` parameter. We also add an enum representing the possible metrics, to avoid similar future mistakes.

Closes #7520
Closes #7523
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants