|
@@ -5,6 +5,9 @@ include::../Versions.asciidoc[]
|
|
|
|
|
|
[preface]
|
|
|
== Preface
|
|
|
+
|
|
|
+deprecated[7.0.0, The `TransportClient` is deprecated in favour of the {java-rest}/java-rest-high.html[Java High Level REST Client] and will be removed in Elasticsearch 8.0. The {java-rest}/java-rest-high-level-migration.html[migration guide] describes all the steps needed to migrate.]
|
|
|
+
|
|
|
This section describes the Java API that Elasticsearch provides. All
|
|
|
Elasticsearch operations are executed using a
|
|
|
<<client,Client>> object. All
|
|
@@ -17,11 +20,6 @@ Additionally, operations on a client may be accumulated and executed in
|
|
|
Note, all the APIs are exposed through the
|
|
|
Java API (actually, the Java API is used internally to execute them).
|
|
|
|
|
|
-WARNING: Starting from version 5.6.0, a new Java client has been
|
|
|
-released: the {java-rest}/java-rest-high.html[Java High Level REST Client].
|
|
|
-This new client is designed to replace the `TransportClient` in Java
|
|
|
-applications which will be deprecated in future versions of Elasticsearch.
|
|
|
-
|
|
|
== Javadoc
|
|
|
|
|
|
The javadoc for the transport client can be found at {transport-client-javadoc}/index.html.
|