You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: serverless/pages/clients-java-getting-started.asciidoc
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,17 @@
4
4
// :description: Set up and use the Java client for {es3}.
5
5
// :keywords: serverless, elasticsearch, java, how to
6
6
7
+
This page guides you through the installation process of the Java
8
+
client, shows you how to initialize the client, and how to perform basic
9
+
{es} operations with it.
10
+
11
+
See the https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/index.html[Java client] documentation for more detailed usage instructions.
12
+
7
13
[NOTE]
8
14
====
9
-
This client is for use with {es-serverless} only. See also the https://www.elastic.co/guide/en/elasticsearch/client/index.html[{es} clients].
15
+
The same client is used for {es3}, on-premise and managed Elasticsearch. Some API endpoints are however not available in {es3}.
10
16
====
11
17
12
-
This page guides you through the installation process of the Java
13
-
client for {es3}, shows you how to initialize the client, and how to perform basic
You can add the Java client to your Java project using
30
32
either Gradle or Maven.
31
33
34
+
Use the version with the highest version number found on https://search.maven.org/artifact/co.elastic.clients/elasticsearch-java[Maven Central], like `8.16.1`. We refer to it as `elasticVersion` in the configuration examples below.
0 commit comments