| Package | Description |
|---|---|
| org.elasticsearch.action.exists |
Exists action.
|
| org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
| org.elasticsearch.client.support |
| Modifier and Type | Method and Description |
|---|---|
ExistsRequestBuilder |
ExistsAction.newRequestBuilder(ElasticsearchClient client) |
ExistsRequestBuilder |
ExistsRequestBuilder.setPreference(String preference)
Deprecated.
Sets the preference to execute the search.
|
ExistsRequestBuilder |
ExistsRequestBuilder.setQuery(BytesReference queryBinary)
Deprecated.
The query binary to execute
|
ExistsRequestBuilder |
ExistsRequestBuilder.setQuery(QueryBuilder queryBuilder)
Deprecated.
The query source to execute.
|
ExistsRequestBuilder |
ExistsRequestBuilder.setRouting(String... routing)
Deprecated.
The routing values to control the shards that the search will be executed on.
|
ExistsRequestBuilder |
ExistsRequestBuilder.setRouting(String routing)
Deprecated.
A comma separated list of routing values to control the shards the search will be executed on.
|
ExistsRequestBuilder |
ExistsRequestBuilder.setSource(byte[] querySource)
Deprecated.
The query source to execute.
|
ExistsRequestBuilder |
ExistsRequestBuilder.setSource(BytesReference source)
Deprecated.
The source to execute.
|
ExistsRequestBuilder |
ExistsRequestBuilder.setTypes(String... types)
Deprecated.
The types of documents the query will run against.
|
| Modifier and Type | Method and Description |
|---|---|
ExistsRequestBuilder |
Client.prepareExists(String... indices)
Deprecated.
use
Client.prepareSearch(String...) instead and set `size` to `0` and `terminate_after` to `1` |
| Modifier and Type | Method and Description |
|---|---|
ExistsRequestBuilder |
AbstractClient.prepareExists(String... indices) |
Copyright © 2009–2017. All rights reserved.