| 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 |
|---|---|
ClusterSearchShardsRequestBuilder |
ClusterSearchShardsAction.newRequestBuilder(ElasticsearchClient client) |
ClusterSearchShardsRequestBuilder |
ClusterSearchShardsRequestBuilder.setIndices(String... indices)
Sets the indices the search will be executed on.
|
ClusterSearchShardsRequestBuilder |
ClusterSearchShardsRequestBuilder.setIndicesOptions(IndicesOptions indicesOptions)
Specifies what type of requested indices to ignore and how to deal indices wildcard expressions.
|
ClusterSearchShardsRequestBuilder |
ClusterSearchShardsRequestBuilder.setPreference(String preference)
Sets the preference to execute the search.
|
ClusterSearchShardsRequestBuilder |
ClusterSearchShardsRequestBuilder.setRouting(String... routing)
The routing values to control the shards that the search will be executed on.
|
ClusterSearchShardsRequestBuilder |
ClusterSearchShardsRequestBuilder.setRouting(String routing)
A comma separated list of routing values to control the shards the search will be executed on.
|
ClusterSearchShardsRequestBuilder |
ClusterSearchShardsRequestBuilder.setTypes(String... types)
The document types to execute the search against.
|
| Modifier and Type | Method and Description |
|---|---|
ClusterSearchShardsRequestBuilder |
ClusterAdminClient.prepareSearchShards()
Returns list of shards the given search would be executed on.
|
ClusterSearchShardsRequestBuilder |
ClusterAdminClient.prepareSearchShards(String... indices)
Returns list of shards the given search would be executed on.
|
Copyright © 2009–2017. All rights reserved.