Elasticsearch supports RESTful APIs, which allows you to use HTTP APIs to perform add, delete, modify, and search operations and configure aliases. This topic describes how to use RESTful APIs.
References from open source Elasticsearch documentation
- Single-document APIs:
- Multi-document APIs:
Use a Java REST client to access a cluster
Only access over HTTP or TCP is supported. We recommend that you use a Java REST client that is provided by open source Elasticsearch.
Use the Java API to access a cluster
RESTful API-based requests over HTTP
You can use RESTful APIs or cURL commands to communicate with Elasticsearch over port 9200. For more information about request parameters and specific examples, see Use curl commands and API operations to manage an Alibaba Cloud Elasticsearch cluster.