OpenSearch/docs/java-rest
Julie Tibshirani b1735aa93b
Support both typed and typeless 'get mapping' requests in the HLRC. (#37796)
From previous PRs, we've already added support for include_type_name to
the get mapping API. We had also taken an approach to the HLRC where the
server-side `GetMappingResponse#fromXContent` could only handle typeless
input.

This PR updates the HLRC for 'get mapping' to be in line with our new approach:

* Add 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.
* Switch the old version of `GetMappingResponse` back to expecting typed
mappings, and deprecate the corresponding method on the HLRC.

Finally, the PR also does some small, related clean-up around 'get field mappings'.
2019-01-27 16:02:22 -08:00
..
high-level Support both typed and typeless 'get mapping' requests in the HLRC. (#37796) 2019-01-27 16:02:22 -08:00
low-level [DOCS] Various spelling corrections (#37046) 2019-01-07 14:44:12 +01:00
index.asciidoc [DOCS] restructure java clients docs pages (#25517) 2017-07-04 10:58:57 +02:00
license.asciidoc [Docs] Update Copyright notices to 2018 (#29404) 2018-04-06 16:21:20 +02:00
overview.asciidoc [DOCS] restructure java clients docs pages (#25517) 2017-07-04 10:58:57 +02:00