SearchRequest instead and set `size` to `0` and `terminate_after` to `1`@Deprecated public class ExistsRequest extends BroadcastRequest<ExistsRequest>
TransportRequest.EmptyIndicesRequest.Replaceable| 修飾子とタイプ | フィールドと説明 |
|---|---|
static float |
DEFAULT_MIN_SCORE
非推奨です。
|
protected String |
routing
非推奨です。
|
indicesheaders| コンストラクタと説明 |
|---|
ExistsRequest()
非推奨です。
|
ExistsRequest(String... indices)
非推奨です。
Constructs a new exists request against the provided indices.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
float |
minScore()
非推奨です。
The minimum score of the documents to include in the count.
|
ExistsRequest |
minScore(float minScore)
非推奨です。
The minimum score of the documents to include in the count.
|
String |
preference()
非推奨です。
|
ExistsRequest |
preference(String preference)
非推奨です。
Routing preference for executing the search on shards
|
void |
readFrom(StreamInput in)
非推奨です。
|
String |
routing()
非推奨です。
A comma separated list of routing values to control the shards the search will be executed on.
|
ExistsRequest |
routing(String... routings)
非推奨です。
The routing values to control the shards that the search will be executed on.
|
ExistsRequest |
routing(String routing)
非推奨です。
A comma separated list of routing values to control the shards the search will be executed on.
|
BytesReference |
source()
非推奨です。
The source to execute.
|
ExistsRequest |
source(byte[] querySource)
非推奨です。
The source to execute.
|
ExistsRequest |
source(byte[] querySource,
int offset,
int length)
非推奨です。
The source to execute.
|
ExistsRequest |
source(BytesReference querySource)
非推奨です。
|
ExistsRequest |
source(Map querySource)
非推奨です。
The source to execute in the form of a map.
|
ExistsRequest |
source(QuerySourceBuilder sourceBuilder)
非推奨です。
The source to execute.
|
ExistsRequest |
source(String querySource)
非推奨です。
The source to execute.
|
ExistsRequest |
source(XContentBuilder builder)
非推奨です。
|
String |
toString()
非推奨です。
|
String[] |
types()
非推奨です。
The types of documents the query will run against.
|
ExistsRequest |
types(String... types)
非推奨です。
The types of documents the query will run against.
|
ActionRequestValidationException |
validate()
非推奨です。
|
void |
writeTo(StreamOutput out)
非推奨です。
|
indices, indices, indicesOptions, indicesOptionscreateTask, getDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic static final float DEFAULT_MIN_SCORE
public ExistsRequest()
public ExistsRequest(String... indices)
public ActionRequestValidationException validate()
validate クラス内 BroadcastRequest<ExistsRequest>public float minScore()
public ExistsRequest minScore(float minScore)
public String routing()
public ExistsRequest routing(String routing)
public ExistsRequest routing(String... routings)
public ExistsRequest preference(String preference)
public String preference()
public BytesReference source()
public ExistsRequest source(QuerySourceBuilder sourceBuilder)
public ExistsRequest source(Map querySource)
public ExistsRequest source(XContentBuilder builder)
public ExistsRequest source(String querySource)
source(byte[])
or source(QuerySourceBuilder).public ExistsRequest source(byte[] querySource)
public ExistsRequest source(byte[] querySource, int offset, int length)
public ExistsRequest source(BytesReference querySource)
public String[] types()
public ExistsRequest types(String... types)
public void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 BroadcastRequest<ExistsRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 BroadcastRequest<ExistsRequest>IOExceptionCopyright © 2009–2016. All rights reserved.