SearchRequest
instead and set `size` to `0` and `terminate_after` to `1`@Deprecated public class ExistsResponse extends BroadcastResponse
TransportResponse.Empty
headers
Modifier and Type | Method and Description |
---|---|
boolean |
exists()
Deprecated.
Whether the documents matching the query provided exists
|
void |
readFrom(StreamInput in)
Deprecated.
|
void |
writeTo(StreamOutput out)
Deprecated.
|
getFailedShards, getShardFailures, getSuccessfulShards, getTotalShards
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public boolean exists()
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class BroadcastResponse
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class BroadcastResponse
IOException
Copyright © 2009–2017. All rights reserved.