Overview of the Elasticsearch Java API Client
mainThe official Elasticsearch Java API Client provides strongly typed requests and responses for all Elasticsearch APIs. It is designed to handle complex nested structures using fluent builders and functional patterns.
Key capabilities include:
- Strong Typing: All APIs have corresponding typed request and response objects.
- Execution Models: Supports both blocking and asynchronous versions of all APIs.
- Object Mapping: Integrates seamlessly with application classes using object mappers like Jackson or any JSON-B implementation.
- Transport Delegation: Delegates protocol-level concerns (HTTP connection pooling, retries, node discovery) to an underlying HTTP client, such as the Java Low Level REST Client.