Uses of Class
org.elasticsearch.client.core.CountRequest
-
Packages that use CountRequest Package Description org.elasticsearch.client org.elasticsearch.client.core -
-
Uses of CountRequest in org.elasticsearch.client
Methods in org.elasticsearch.client with parameters of type CountRequest Modifier and Type Method Description CountResponseRestHighLevelClient. count(CountRequest countRequest, RequestOptions options)Executes a count request using the Count API.CancellableRestHighLevelClient. countAsync(CountRequest countRequest, RequestOptions options, ActionListener<CountResponse> listener)Asynchronously executes a count request using the Count API. -
Uses of CountRequest in org.elasticsearch.client.core
Methods in org.elasticsearch.client.core that return CountRequest Modifier and Type Method Description CountRequestCountRequest. indices(String... indices)Sets the indices the count will be executed on.CountRequestCountRequest. indicesOptions(IndicesOptions indicesOptions)Returns the indices options used to resolve indices.CountRequestCountRequest. minScore(Float minScore)CountRequestCountRequest. preference(String preference)Sets the preference to execute the count.CountRequestCountRequest. query(QueryBuilder query)Sets the query to execute for this count request.CountRequestCountRequest. routing(String routing)The routing values to control the shards that the search will be executed on.CountRequestCountRequest. routing(String... routings)A comma separated list of routing values to control the shards the count will be executed on.CountRequestCountRequest. source(SearchSourceBuilder searchSourceBuilder)Deprecated.The count api only supports a query.CountRequestCountRequest. terminateAfter(int terminateAfter)CountRequestCountRequest. types(String... types)Deprecated.Types are in the process of being removed.
-