OpenSearch/docs/java-rest/high-level
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
..
ccr [HLRC] Added support for Follow Stats API (#36253) 2018-12-09 19:59:08 +01:00
cluster Docs: Cut down on high level rest client copy-and-paste-ness (#34125) 2018-09-28 14:48:11 -04:00
document Type removal - added deprecation warnings to _bulk apis (#36549) 2019-01-10 21:35:19 +00:00
graph HLRC GraphClient and associated tests (#32366) 2018-08-21 13:29:18 +01:00
ilm [DOCS] fix HLRC ILM doc misreferenced tag 2018-11-27 14:28:25 -08:00
indices Support both typed and typeless 'get mapping' requests in the HLRC. (#37796) 2019-01-27 16:02:22 -08:00
ingest REST high-level client: add simulate pipeline API (#31158) 2018-06-22 09:59:04 +02:00
licensing HLRC: add support for get license basic/trial status API (#33176) 2018-11-13 15:52:59 +01:00
migration [DOCS] Various spelling corrections (#37046) 2019-01-07 14:44:12 +01:00
miscellaneous [Docs] Remove repeating words (#33087) 2018-08-28 13:16:43 +02:00
ml [HLRC] XPack ML info action (#35777) 2018-11-28 10:58:20 +00:00
rollup HLRC: Add rollup search (#36334) 2018-12-07 14:39:58 -05:00
script HLRC: Add put stored script support to high-level rest client (#31323) 2018-09-09 13:47:47 +02:00
search Update the scroll example in the docs (#37394) 2019-01-14 13:03:00 +01:00
security Deprecate HLRC EmptyResponse used by security (#37540) 2019-01-23 22:13:16 -06:00
snapshot Add Restore Snapshot High Level REST API 2018-07-24 16:17:09 +02:00
tasks high level REST api: cancel task (#30745) 2018-06-07 14:02:23 -07:00
watcher [DOCS] Various spelling corrections (#37046) 2019-01-07 14:44:12 +01:00
aggs-builders.asciidoc [DOCS] Update APIs grouping and ordering in REST high-level Client docs (#28497) 2018-02-02 17:19:50 +01:00
execution-no-req.asciidoc HLRC: Implement get-user-privileges API (#36292) 2018-12-12 15:12:49 +11:00
execution.asciidoc Add javadocs about expected exceptions to RestHighLevelClient (#36216) 2018-12-05 00:31:52 +01:00
getting-started.asciidoc [DOCS] Various spelling corrections (#37046) 2019-01-07 14:44:12 +01:00
index.asciidoc Docs: HLRC: refactor bulk, migrate and reindex apis (#35413) 2018-11-16 08:58:13 +01:00
java-builders.asciidoc Docs: Cut down on high level rest client copy-and-paste-ness (#34125) 2018-09-28 14:48:11 -04:00
migration.asciidoc Deprecate types in index API (#36575) 2018-12-18 08:53:49 -05:00
query-builders.asciidoc added docs for `wrapper` query. 2018-03-14 11:51:22 +01:00
supported-apis.asciidoc HLRC: Add get users action (#36332) 2018-12-13 12:24:48 -06:00