Merge pull request #306 from opensearch-project/java-client

Added OpenSearch dependency
This commit is contained in:
Keith Chan
2021-12-03 10:32:59 -08:00
committed by GitHub
+6 -1
View File
@@ -12,9 +12,14 @@ For example, you can submit requests to your cluster using objects to create ind
## Setup
To start using the OpenSearch Java client, ensure that you have the following dependency in your project's `pom.xml` file:
To start using the OpenSearch Java client, ensure that you have the following dependencies in your project's `pom.xml` file:
```
<dependency>
<groupId>org.opensearch.client</groupId>
<artifactId>opensearch-rest-client</artifactId>
<version>{{site.opensearch_version}}</version>
</dependency>
<dependency>
<groupId>org.opensearch.client</groupId>
<artifactId>opensearch-java</artifactId>