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: _clients/java.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ nav_order: 30
8
8
9
9
The OpenSearch Java client allows you to interact with your OpenSearch clusters through Java methods and data structures rather than HTTP methods and raw JSON. For example, you can submit requests to your cluster using objects to create indexes, add data to documents, or complete some other operation using the client's built-in methods. For the client's complete API documentation and additional examples, see the [javadoc](https://www.javadoc.io/doc/org.opensearch.client/opensearch-java/latest/index.html).
10
10
11
-
This getting started guide illustrates how to connect to OpenSearch, index documents, and run queries. For the client source code, see the [opensearch-java repo](https://github.com/opensearch-project/opensearch-java).
11
+
This getting started guide illustrates how to connect to OpenSearch, index documents, and run queries. For the client source code, see the [`opensearch-java` repo](https://github.com/opensearch-project/opensearch-java).
12
12
13
13
## Installing the client using Apache HttpClient 5 Transport
14
14
@@ -18,7 +18,7 @@ To start using the OpenSearch Java client, you need to provide a transport. The
18
18
<dependency>
19
19
<groupId>org.opensearch.client</groupId>
20
20
<artifactId>opensearch-java</artifactId>
21
-
<version>2.8.1</version>
21
+
<version>3.0.0</version>
22
22
</dependency>
23
23
24
24
<dependency>
@@ -33,7 +33,7 @@ If you're using Gradle, add the following dependencies to your project:
You can now point your Java client to the truststore and set basic authentication credentials that can access a secure cluster (refer to the sample code below on how to do so).
86
+
You can now point your Java client to the truststore and set basic authentication credentials that can access a secure cluster (see the sample code in the next sections).
87
87
88
-
If you run into issues when configuring security, see [common issues]({{site.url}}{{site.baseurl}}/troubleshoot/index) and [troubleshoot TLS]({{site.url}}{{site.baseurl}}/troubleshoot/tls).
88
+
If you run into issues when configuring security, see [common issues]({{site.url}}{{site.baseurl}}/troubleshoot/index/) and [troubleshoot TLS]({{site.url}}{{site.baseurl}}/troubleshoot/tls/).
0 commit comments