Submits the given source for analysis using an Elasticsearch Analyzer and returns the response.
Submits the given source for analysis using an Elasticsearch Analyzer and returns the response.
String source to analyze.
EsResult of com.workday.esclient.AnalyzeResponse
Submits the given source for analysis using an Elasticsearch Analyzer, defautlting to the standard analyzer.
Submits the given source for analysis using an Elasticsearch Analyzer, defautlting to the standard analyzer.
String source to analyze.
String ES index name.
String name of ES Analyzer to use.
EsResult of com.workday.esclient.AnalyzeResponse
Parses a given Elasticsearch action sequence and executes the actions.
Parses a given Elasticsearch action sequence and executes the actions.
Sequence of ES update, index, and delete actions to perform.
EsResult of com.workday.esclient.BulkResponse
Attempts a bulk sequence of Elasticsearch actions and retries on failure up to a given depth of retries.
Attempts a bulk sequence of Elasticsearch actions and retries on failure up to a given depth of retries.
Sequence of action to attempt.
Int recursion depth limit. Defaults to 1. com.workday.esclient.EsIndexingDocs.RetriesLimit is set to 5.
EsResult of com.workday.esclient.BulkResponse
Deletes Elasticsearch documents that match a given query string.
Deletes Elasticsearch documents that match a given query string.
String ES index name.
Optional string to query ES. Defaults to None.
EsResult of com.workday.esclient.DeleteByQueryResponse
Flushes an Elasticsearch index.
Flushes an Elasticsearch index.
String ES index name.
Gets com.workday.esclient.EsIndexingDocs.SleepTimeToHandleBackPressureMs
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
Indexes a given doc to an Elasticsearch index under the given id.
Indexes a given doc to an Elasticsearch index under the given id.
String ES index name.
String ES type name.
String id to index document under.
String doc to index.
EsResult of com.workday.esclient.UpdateResponse
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 Index Metadata APIs