This best practice is based on Java API 6.3.x. It describes how to use Java high-level REST client to connect to your Alibaba Cloud Elasticsearch instance and call the Elasticsearch document API. You can call the document API to perform tasks in your local Java program, for example, you can create, retrieve, or update documents.

This best practice is based on Java API 6.3.x and uses Alibaba Cloud Elasticsearch V6.3 instances. It describes how to use Java high-level REST client to connect to your Alibaba Cloud Elasticsearch instance and call the Elasticsearch document API. The best practice includes the following topics:
  1. Create and configure an Alibaba Cloud Elasticsearch instance: create an Alibaba Cloud Elasticsearch instance, configure the whitelist, and enable auto indexing.
  2. Call the document API: connect to your Alibaba Cloud Elasticsearch instance, and create, retrieve, update, and delete documents.