Reallocates a list of shards to specified destination nodes and returns an acknowledgment from Elasticsearch.
Reallocates a list of shards to specified destination nodes and returns an acknowledgment from Elasticsearch. Maps to /_cluster/reroute.
Sequence of RerouteOps containing shard name and destination node.
EsResult of acknowledgment from ES.
Returns all currently available nodes in the Elasticsearch cluster.
Returns all currently available nodes in the Elasticsearch cluster. Does not include downed nodes. Maps to /_cat/nodes
EsResult of sequence of com.workday.esclient.actions.NodeInfo.
Returns a Cat action for indices.
Returns a Cat action for indices.
Cat action.
Builds a Cat action for shards.
Builds a Cat action for shards.
If specified, only shards in that index are returned. If not specified, all shards are returned.
Gets the index status for all Elasticsearch indices.
Gets the index status for all Elasticsearch indices. Maps to /_cat/indices
EsResult of sequence of com.workday.esclient.actions.IndexInfo
Gets the status for the given Elasticsearch index.
Gets the status for the given Elasticsearch index.
String ES index name.
EsResult of sequence of com.workday.esclient.actions.IndexInfo
Gets the basic memory and disk stats for all Elasticsearch nodes.
Gets the basic memory and disk stats for all Elasticsearch nodes. Memory stats -> used heap percentage; Disk stats -> total and available byte counts.
EsResult of com.workday.esclient.AllNodesStat
Cats shard information from Elasticsearch.
Cats shard information from Elasticsearch. Includes unassigned shards. Maps to /_cat/shards
String ES index name. Defaults to empty string.
EsResult of sequence of com.workday.esclient.actions.ShardInfo.
Clears Elasticsearch cache keys.
Clears Elasticsearch cache keys. https://www.elastic.co/guide/en/elasticsearch/reference/1.7/indices-clearcache.html https://www.elastic.co/guide/en/elasticsearch/reference/1.7/query-dsl-terms-filter.html
Sequence of cache keys to clear.
EsResult of com.workday.esclient.ClearCacheResponse
Returns an Elasticsearch cluster health response.
Returns an Elasticsearch cluster health response.
EsResult wrapping the cluster health response from ES.
Gets all current Elasticsearch cluster settings.
Gets all current Elasticsearch cluster settings. Maps to /_cluster/settings.
EsResult of com.workday.esclient.ClusterSettingsResponse
Gets the current state of the Elasticsearch cluster.
Gets the current state of the Elasticsearch cluster. Maps to /_cluster/state.
Sequence of indices to filter cluster state response with. Defaults to Nil.
Boolean whether to include routing table in the cluster state response. Defaults to false.
EsResult of com.workday.esclient.ClusterStateResponse
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]
Updates Elasticsearch cluster settings.
Updates Elasticsearch cluster settings. Maps to /_cluster/settings. If key is not present it will keep its value.
Map of transient settings to update. Will not survive a cluster restart.
Map of persistent settings to update. Persist across cluster restarts.
EsResult of com.workday.esclient.ClusterSettingsResponse
Returns the least healthy index in the given sequence of Elastichsearch indices.
Returns the least healthy index in the given sequence of Elastichsearch indices. Maps to /_cluster/health/index1,index2,... .
Sequence of ES index names.
String ES timeout. Defaults to com.workday.esclient.actions.IndexHealthAction.DEFAULT_TIMEOUT
Tuple of the least healthy index status and whether the request timed out.
Trait wrapping Elasticsearch Cluster-level APIs