elastic_client library
Classes
- Aggregation
- Alias
- Bucket
- ClearScrollResult
- Client
- Client to connect to ElasticSearch.
- Doc
- ElasticDocHit
- HighlightField
- HighlightOptions
- Hit
- HttpTransport
- The default transport implementation over HTTP.
- IndexRef
- Shorthand for index-related operations.
- Query
- Request
- Low-level API request.
- Response
- Low-level API response object.
- SearchResult
- SuggestHit
- SuggestHitOption
- TermsEnumResult
- Transport
- Communication abstraction for adding multiple layers on top of the basic HTTP client.
Functions
-
basicAuthorization(
String username, String password) → String -
Creates the
Basic
authorization header withusername
andpassword
.
Exceptions / Errors
- TransportException
- Exception that describes an issue with executing the request.