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
commit c41ff80be8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -12,9 +12,14 @@ For example, you can submit requests to your cluster using objects to create ind
## Setup ## 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> <dependency>
<groupId>org.opensearch.client</groupId> <groupId>org.opensearch.client</groupId>
<artifactId>opensearch-java</artifactId> <artifactId>opensearch-java</artifactId>