PercolateQueryBuilder
@Deprecated public class PercolateResponse extends BroadcastResponse implements java.lang.Iterable<PercolateResponse.Match>, ToXContentObject
Modifier and Type | Class and Description |
---|---|
static class |
PercolateResponse.Match
Deprecated.
Represents a query that has matched with the document that was percolated.
|
TransportResponse.Empty
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field and Description |
---|---|
static PercolateResponse.Match[] |
EMPTY
Deprecated.
|
static float |
NO_SCORE
Deprecated.
|
EMPTY_PARAMS
Modifier and Type | Method and Description |
---|---|
InternalAggregations |
getAggregations()
Deprecated.
|
long |
getCount()
Deprecated.
|
PercolateResponse.Match[] |
getMatches()
Deprecated.
|
TimeValue |
getTook()
Deprecated.
How long the percolate took.
|
long |
getTookInMillis()
Deprecated.
How long the percolate took in milliseconds.
|
XContentBuilder |
innerToXContent(XContentBuilder builder,
ToXContent.Params params)
Deprecated.
|
java.util.Iterator<PercolateResponse.Match> |
iterator()
Deprecated.
|
void |
readFrom(StreamInput in)
Deprecated.
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params)
Deprecated.
|
void |
writeTo(StreamOutput out)
Deprecated.
|
getFailedShards, getShardFailures, getSuccessfulShards, getTotalShards
remoteAddress, remoteAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFragment
public static final PercolateResponse.Match[] EMPTY
public static final float NO_SCORE
public TimeValue getTook()
public long getTookInMillis()
public PercolateResponse.Match[] getMatches()
null
if th.public long getCount()
public InternalAggregations getAggregations()
null
.public java.util.Iterator<PercolateResponse.Match> iterator()
iterator
in interface java.lang.Iterable<PercolateResponse.Match>
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public XContentBuilder innerToXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
java.io.IOException
public void readFrom(StreamInput in) throws java.io.IOException
readFrom
in interface Streamable
readFrom
in class BroadcastResponse
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
writeTo
in interface Streamable
writeTo
in class BroadcastResponse
java.io.IOException