Package | Description |
---|---|
org.elasticsearch.action.count |
Count action.
|
org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
org.elasticsearch.client.support |
Modifier and Type | Method and Description |
---|---|
CountRequestBuilder |
CountAction.newRequestBuilder(ElasticsearchClient client)
Deprecated.
|
CountRequestBuilder |
CountRequestBuilder.setMinScore(float minScore)
Deprecated.
The minimum score of the documents to include in the count.
|
CountRequestBuilder |
CountRequestBuilder.setPreference(String preference)
Deprecated.
Sets the preference to execute the search.
|
CountRequestBuilder |
CountRequestBuilder.setQuery(BytesReference queryBinary)
Deprecated.
The query binary to execute
|
CountRequestBuilder |
CountRequestBuilder.setQuery(QueryBuilder queryBuilder)
Deprecated.
The query source to execute.
|
CountRequestBuilder |
CountRequestBuilder.setQuery(XContentBuilder query)
Deprecated.
Constructs a new builder with a raw search query.
|
CountRequestBuilder |
CountRequestBuilder.setRouting(String... routing)
Deprecated.
The routing values to control the shards that the search will be executed on.
|
CountRequestBuilder |
CountRequestBuilder.setRouting(String routing)
Deprecated.
A comma separated list of routing values to control the shards the search will be executed on.
|
CountRequestBuilder |
CountRequestBuilder.setSource(byte[] querySource)
Deprecated.
The query source to execute.
|
CountRequestBuilder |
CountRequestBuilder.setSource(BytesReference source)
Deprecated.
The source to execute.
|
CountRequestBuilder |
CountRequestBuilder.setTerminateAfter(int terminateAfter)
Deprecated.
|
CountRequestBuilder |
CountRequestBuilder.setTypes(String... types)
Deprecated.
The types of documents the query will run against.
|
Modifier and Type | Method and Description |
---|---|
CountRequestBuilder |
Client.prepareCount(String... indices)
Deprecated.
use
Client.prepareSearch(String...) instead and set size to 0 |
Modifier and Type | Method and Description |
---|---|
CountRequestBuilder |
AbstractClient.prepareCount(String... indices) |
Copyright © 2009–2016. All rights reserved.