Package | Description |
---|---|
org.elasticsearch.action.admin.cluster.shards | |
org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
org.elasticsearch.client.support |
Modifier and Type | Method and Description |
---|---|
ClusterSearchShardsRequest |
ClusterSearchShardsRequest.indices(String... indices)
Sets the indices the search will be executed on.
|
ClusterSearchShardsRequest |
ClusterSearchShardsRequest.indicesOptions(IndicesOptions indicesOptions) |
protected ClusterSearchShardsRequest |
TransportClusterSearchShardsAction.newRequest() |
ClusterSearchShardsRequest |
ClusterSearchShardsRequest.preference(String preference)
Sets the preference to execute the search.
|
ClusterSearchShardsRequest |
ClusterSearchShardsRequest.routing(String... routings)
The routing values to control the shards that the search will be executed on.
|
ClusterSearchShardsRequest |
ClusterSearchShardsRequest.routing(String routing)
A comma separated list of routing values to control the shards the search will be executed on.
|
ClusterSearchShardsRequest |
ClusterSearchShardsRequest.types(String... types)
The document types to execute the search against.
|
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportClusterSearchShardsAction.checkBlock(ClusterSearchShardsRequest request,
ClusterState state) |
protected void |
TransportClusterSearchShardsAction.masterOperation(ClusterSearchShardsRequest request,
ClusterState state,
ActionListener<ClusterSearchShardsResponse> listener) |
Modifier and Type | Method and Description |
---|---|
static ClusterSearchShardsRequest |
Requests.clusterSearchShardsRequest()
List all shards for the give search
|
static ClusterSearchShardsRequest |
Requests.clusterSearchShardsRequest(String... indices)
List all shards for the give search
|
Modifier and Type | Method and Description |
---|---|
ActionFuture<ClusterSearchShardsResponse> |
ClusterAdminClient.searchShards(ClusterSearchShardsRequest request)
Returns list of shards the given search would be executed on.
|
void |
ClusterAdminClient.searchShards(ClusterSearchShardsRequest request,
ActionListener<ClusterSearchShardsResponse> listener)
Returns list of shards the given search would be executed on.
|
Modifier and Type | Method and Description |
---|---|
ActionFuture<ClusterSearchShardsResponse> |
AbstractClusterAdminClient.searchShards(ClusterSearchShardsRequest request) |
void |
AbstractClusterAdminClient.searchShards(ClusterSearchShardsRequest request,
ActionListener<ClusterSearchShardsResponse> listener) |
Copyright © 2009–2015. All rights reserved.