@@ -22,11 +22,8 @@ https://www.elastic.co/blog/state-of-the-official-elasticsearch-java-clients[sta
2222
2323=== Prerequisite
2424
25- The Java High Level Rest Client requires Java `1.8`. It can be used to send requests
26- to an Elasticsearch cluster that is in version 5.6.0 or 6.0.0. When using the high-level
27- client in version 5.x to talk to a cluster in version 6.0.0, breaking changes in the REST
28- API may cause unexpected results and new APIs provided by Elasticsearch won't be known by
29- the high-level client (but could be used with the Low-Level Rest Client).
25+ The Java High Level Rest Client requires Java `1.8` and can be used to send requests
26+ to an <<java-rest-high-compatibility,Elasticsearch cluster in a compatible version>>.
3027
3128=== How to migrate
3229
@@ -39,7 +36,7 @@ requires the following steps:
3936
4037=== Updating the dependencies
4138
42- Java application that uses the `TransportClient` depend on the
39+ Java application that uses the `TransportClient` depends on the
4340`org.elasticsearch.client:transport` artifact. This dependency
4441must be replaced by a new dependency on the high-level client.
4542
@@ -50,7 +47,7 @@ The <<java-rest-high-usage,Getting Started>> page shows
5047
5148=== Changing the client's initialization code
5249
53- The `TransportClient` is typically initialized with something as follows:
50+ The `TransportClient` is typically initialized as follows:
5451[source,java]
5552--------------------------------------------------
5653Settings settings = Settings.builder()
@@ -107,7 +104,7 @@ lowLevelRestClient.close();
107104
108105=== Changing the application's code
109106
110- The `RestHighLevelClient` supports the same request and response object
107+ The `RestHighLevelClient` supports the same request and response objects
111108as the `TransportClient`, but exposes slightly different methods to
112109send the requests.
113110
0 commit comments