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

Support both typed and typeless 'get mapping' requests in the HLRC (backport to 6.x). #37950

Merged
merged 2 commits into from
Jan 29, 2019

Conversation

jtibshirani
Copy link
Contributor

Backport of #37796, opening a PR to get a full build. This PR also makes the relevant
changes to account for the difference in the default for include_type_name.

I also needed to backport parts of #37492 that affected tests and documentation.

@jtibshirani jtibshirani added :Search Foundations/Mapping Index mappings, including merging and defining field types backport v6.7.0 labels Jan 29, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

…lastic#37796)

From previous PRs, we've already added support for include_type_name to the get
mapping API. This PR adds a typeless 'get mappings' method to the Java HLRC,
that accepts new client-side request and response objects. This new response
only handles typeless mapping definitions.

Finally, the PR also performs some small, related clean-up around 'get field
mappings'.
@jtibshirani
Copy link
Contributor Author

@elasticmachine run elasticsearch-ci/1

@jtibshirani jtibshirani merged commit cfa6801 into elastic:6.x Jan 29, 2019
@jtibshirani jtibshirani deleted the get-mapping-hlrc branch January 29, 2019 18:54
@jtibshirani jtibshirani removed the v6.7.0 label Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Search Foundations/Mapping Index mappings, including merging and defining field types
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants