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

Make get mapping response consistent #3172

Closed
martijnvg opened this Issue Jun 12, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@martijnvg
Copy link
Member

martijnvg commented Jun 12, 2013

The get mapping api response wraps the mappings in a type object and the type objects in an index object. If the mapping for only one index and type is requested the index object is omitted, for the sake of brevity, but this can also be confusing for application parsing it. The top level index object should always be included

@ghost ghost assigned martijnvg Jun 12, 2013

@martijnvg martijnvg closed this in 6d8a85c Jun 13, 2013

martijnvg added a commit that referenced this issue Jun 13, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.