OpenSearch/docs/java-rest/high-level/indices
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
..
analyze.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00
clear_cache.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00
close_index.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00
create_index.asciidoc Remove outdated callouts from the 'create index' HLRC docs 2019-01-24 14:08:58 -08:00
delete_index.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00
delete_template.asciidoc HLRC: Add delete template API (#36320) 2018-12-07 10:46:03 -05:00
exists_alias.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00
flush.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00
flush_synced.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00
force_merge.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00
freeze_index.asciidoc Add high-level REST client API for `_freeze` and `_unfreeze` (#35723) 2018-11-28 15:42:12 +01:00
get_alias.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00
get_field_mappings.asciidoc Deprecate types in get field mapping API (#37667) 2019-01-23 14:24:35 -05:00
get_index.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00
get_mappings.asciidoc Support both typed and typeless 'get mapping' requests in the HLRC. (#37796) 2019-01-27 16:02:22 -08:00
get_settings.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00
get_templates.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00
indices_exists.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00
open_index.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00
put_mapping.asciidoc Deprecate types in the put mapping API. (#37280) 2019-01-18 12:28:31 -08:00
put_settings.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00
put_template.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00
refresh.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00
rollover.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00
shrink_index.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00
split_index.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00
templates_exist.asciidoc [hlrc] add index templates exist API (#36132) 2018-12-10 08:11:57 -08:00
unfreeze_index.asciidoc [DOCS] Various spelling corrections (#37046) 2019-01-07 14:44:12 +01:00
update_aliases.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00
validate_query.asciidoc Docs: DRY up indices docs (#35971) 2018-11-27 19:40:49 -06:00