| Package | Description |
|---|---|
| org.elasticsearch.action.admin.cluster.shards | |
| org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
| 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) |
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.
|
Copyright © 2009–2017. All rights reserved.