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
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]
Enables access to a single JestClient across many EsClient APIs (modularized into traits). The jest def here is overridden in EsClient.scala with the val jest.
It also includes other helper functions for parsing responses from the Jest client.