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

Docs: Pin two IDs in the rest client #40785

Merged
merged 1 commit into from
Apr 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/java-rest/high-level/migration.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ The <<java-rest-high-getting-started,Getting Started>> page shows
<<java-rest-high-getting-started-dependencies, dependencies>> brought by the
high-level client.

// This ID is bad but it is the one we've had forever.
[[_changing_the_client_8217_s_initialization_code]]
=== Changing the client's initialization code

The `TransportClient` is typically initialized as follows:
Expand Down Expand Up @@ -94,6 +96,8 @@ must be replaced with:
include-tagged::{doc-tests}/MiscellaneousDocumentationIT.java[rest-high-level-client-close]
--------------------------------------------------

// This ID is bad but it is the one we've had forever.
[[_changing_the_application_8217_s_code]]
=== Changing the application's code

The `RestHighLevelClient` supports the same request and response objects
Expand Down