public class ClusterSearchShardsRequestBuilder extends MasterNodeReadOperationRequestBuilder<ClusterSearchShardsRequest,ClusterSearchShardsResponse,ClusterSearchShardsRequestBuilder>
action, client, request| Constructor and Description |
|---|
ClusterSearchShardsRequestBuilder(ElasticsearchClient client,
ClusterSearchShardsAction action) |
| Modifier and Type | Method and Description |
|---|---|
ClusterSearchShardsRequestBuilder |
setIndices(String... indices)
Sets the indices the search will be executed on.
|
ClusterSearchShardsRequestBuilder |
setIndicesOptions(IndicesOptions indicesOptions)
Specifies what type of requested indices to ignore and how to deal indices wildcard expressions.
|
ClusterSearchShardsRequestBuilder |
setPreference(String preference)
Sets the preference to execute the search.
|
ClusterSearchShardsRequestBuilder |
setRouting(String... routing)
The routing values to control the shards that the search will be executed on.
|
ClusterSearchShardsRequestBuilder |
setRouting(String routing)
A comma separated list of routing values to control the shards the search will be executed on.
|
ClusterSearchShardsRequestBuilder |
setTypes(String... types)
The document types to execute the search against.
|
setLocalsetMasterNodeTimeout, setMasterNodeTimeoutbeforeExecute, execute, execute, get, get, get, putHeader, requestpublic ClusterSearchShardsRequestBuilder(ElasticsearchClient client, ClusterSearchShardsAction action)
public ClusterSearchShardsRequestBuilder setIndices(String... indices)
public ClusterSearchShardsRequestBuilder setTypes(String... types)
public ClusterSearchShardsRequestBuilder setRouting(String routing)
public ClusterSearchShardsRequestBuilder setRouting(String... routing)
public ClusterSearchShardsRequestBuilder setPreference(String preference)
public ClusterSearchShardsRequestBuilder setIndicesOptions(IndicesOptions indicesOptions)
Copyright © 2009–2017. All rights reserved.