Gets the count of documents in a given index (or alias) with optional filtering by type.
Gets the count of documents in a given index (or alias) with optional filtering by type.
String index/alias name to get from.
String optional ES type name (aka sid).
EsResult wrapping an integer count from ES.
Returns a buildable search action for us with a Jest client.
Returns a buildable search action for us with a Jest client.
String index to search from.
String optional ES type name.
String query content.
Optional map of additional search parameters.
buildable search action object.
Makes a get request to Elasticsearch for the given id and index.
Makes a get request to Elasticsearch for the given id and index.
String index to get from.
String id of document to get.
EsResult wrapping the response from ES.
Gets the count of search hits for a given query and index.
Gets the count of search hits for a given query and index.
String index to get from.
String query content.
Int count of hits for given query.
Returns successful EsResult[T] or error response on JSON parsing/mapping failure.
Returns successful EsResult[T] or error response on JSON parsing/mapping failure.
we need J here to allow things like jest's CountResult
- multiGet returns a GetResponse with an error field instead of a source, so we should report that normally
EsResult[T] either EsResponse[T] or an error message type
Handles the Jest result from an ES request and returns a JSON object.
Handles the Jest result from an ES request and returns a JSON object.
Jest SearchResult from ES.
EsResult wrapping the handled response from ES.
Makes a multi-get request to Elasticsearch for the given index and ids.
Makes a multi-get request to Elasticsearch for the given index and ids.
String index to get from.
String ES type name.
Sequence of ids of documents to get.
Optional map of additional get parameters.
EsResult wrapping the response from ES.
Makes a Multi Get request with the "_source" field provided as a parameter.
Makes a Multi Get request with the "_source" field provided as a parameter.
String index to get from.
String ES type name.
Sequence of ids of documents to get.
String "_source" field to specify which documents to return source for.
EsResult wrapping the response from ES.
Makes a more sophisticated query on Elasticsearch including ES type names and parameters.
Makes a more sophisticated query on Elasticsearch including ES type names and parameters.
String ES index to query.
String ES type name.
String query content.
Map of params to include in ES request.
EsResult wrapping the response from ES.
Makes a basic query on Elasticsearch and returns an EsResult of the response.
Makes a basic query on Elasticsearch and returns an EsResult of the response.
String ES index to query.
String query content.
EsResult wrapping the response from ES.
Returns com.workday.esclient.EsResult[T] from JSON Jest response.
Returns com.workday.esclient.EsResult[T] from JSON Jest response.
implicit manifest
Jest response to be handled
Boolean value whether to parse error responses
EsResult[T]
Trait wrapping Elasticsearch Query APIs