Skip to content

Commit

Permalink
Update java client version (#3753) (#3775)
Browse files Browse the repository at this point in the history
Signed-off-by: Vacha Shah <[email protected]>
(cherry picked from commit 9a3e49a)

Co-authored-by: Vacha Shah <[email protected]>
(cherry picked from commit 408883d)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and VachaShah committed Apr 14, 2023
1 parent 3903366 commit 8dacaed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _clients/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand All @@ -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 %}
Expand All @@ -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 %}
Expand All @@ -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 %}
Expand Down

0 comments on commit 8dacaed

Please sign in to comment.