Elasticsearch APIs
(12/07/22)
There are 5 major Elasticsearch APIs.
1. Document APIs
2. Search APIs
3. Aggregation
4. Index APIs
5. Cluster APIs
1. Document APIs
Document APIs are further categorized into two major categories.
I. Single Document API:
In case we need to perform an operation on a single document we use these APIs for Querying.
- Index API -
Let's use PUT query first.
And the response should be like the below image.
- Get API -
- Update API -
- Delete API -
II. Multi-Document API:
In case we need to perform an operation on a Multiple documents we use these APIs for Querying.
- Multi Get API -
- Bulk API -
- Delete by Query API -
- Update by Query API -
- Reindex API -
Comments
Post a Comment