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

Mappings: The get field mappings API should raise an error when shards are not allocated #7460

Closed
jpountz opened this issue Aug 26, 2014 · 1 comment
Labels
>bug :Data Management/Indices APIs APIs to create and manage indices and templates good first issue low hanging fruit help wanted adoptme

Comments

@jpountz
Copy link
Contributor

jpountz commented Aug 26, 2014

The get fields mapping API is different from the get mappings since it goes to shards instead of the master node, since shards have per-field lookup structures that the master node doesn't have.

However, this can have some disappointing side effects in case no shards of the requested index are allocated: the API will return empty mappings. Instead this API should raise an error when shards are not allocated.

@jpountz jpountz added bug and removed v2.0.0 labels Aug 26, 2014
@javanna javanna changed the title Mappings: The get mappings API should raise an error when shards are not allocated Mappings: The get field mappings API should raise an error when shards are not allocated Aug 26, 2014
@clintongormley clintongormley added good first issue low hanging fruit :Data Management/Indices APIs APIs to create and manage indices and templates labels Nov 21, 2015
@clintongormley
Copy link

Closing in favour of #5368

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Data Management/Indices APIs APIs to create and manage indices and templates good first issue low hanging fruit help wanted adoptme
Projects
None yet
Development

No branches or pull requests

2 participants