Update java client version (#3753)

Signed-off-by: Vacha Shah <vachshah@amazon.com>
This commit is contained in:
Vacha Shah 2023-04-11 14:09:42 -07:00 committed by GitHub
parent 8eac00ec8f
commit 9a3e49a2f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ To start using the OpenSearch Java client, you need to provide a transport. The
<dependency>
<groupId>org.opensearch.client</groupId>
<artifactId>opensearch-java</artifactId>
<version>2.3.0</version>
<version>2.4.0</version>
</dependency>
```
{% include copy.html %}
@ -27,7 +27,7 @@ If you're using Gradle, add the following dependencies to your project:
```
dependencies {
implementation 'org.opensearch.client:opensearch-java:2.3.0'
implementation 'org.opensearch.client:opensearch-java:2.4.0'
}
```
{% include copy.html %}
@ -48,7 +48,7 @@ Alternatively, you can create a Java client by using the `RestClient`-based tran
<dependency>
<groupId>org.opensearch.client</groupId>
<artifactId>opensearch-java</artifactId>
<version>2.3.0</version>
<version>2.4.0</version>
</dependency>
```
{% include copy.html %}
@ -58,7 +58,7 @@ If you're using Gradle, add the following dependencies to your project"
```
dependencies {
implementation 'org.opensearch.client:opensearch-rest-client: {{site.opensearch_version}}'
implementation 'org.opensearch.client:opensearch-java:2.3.0'
implementation 'org.opensearch.client:opensearch-java:2.4.0'
}
```
{% include copy.html %}