public class PercolateShardResponse extends BroadcastShardResponse
TransportResponse.Empty
headers
Constructor and Description |
---|
PercolateShardResponse(org.apache.lucene.util.BytesRef[] matches,
List<Map<String,HighlightField>> hls,
long count,
float[] scores,
PercolateContext context,
ShardId shardId) |
PercolateShardResponse(org.apache.lucene.util.BytesRef[] matches,
List<Map<String,HighlightField>> hls,
long count,
PercolateContext context,
ShardId shardId) |
PercolateShardResponse(org.apache.lucene.util.BytesRef[] matches,
long count,
float[] scores,
PercolateContext context,
ShardId shardId) |
PercolateShardResponse(long count,
PercolateContext context,
ShardId shardId) |
PercolateShardResponse(PercolateContext context,
ShardId shardId) |
Modifier and Type | Method and Description |
---|---|
InternalAggregations |
aggregations() |
long |
count() |
List<Map<String,HighlightField>> |
hls() |
boolean |
isEmpty() |
org.apache.lucene.util.BytesRef[] |
matches() |
byte |
percolatorTypeId() |
List<SiblingPipelineAggregator> |
pipelineAggregators() |
void |
readFrom(StreamInput in) |
int |
requestedSize() |
float[] |
scores() |
void |
writeTo(StreamOutput out) |
getIndex, getShardId
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public PercolateShardResponse(org.apache.lucene.util.BytesRef[] matches, List<Map<String,HighlightField>> hls, long count, float[] scores, PercolateContext context, ShardId shardId)
public PercolateShardResponse(org.apache.lucene.util.BytesRef[] matches, long count, float[] scores, PercolateContext context, ShardId shardId)
public PercolateShardResponse(org.apache.lucene.util.BytesRef[] matches, List<Map<String,HighlightField>> hls, long count, PercolateContext context, ShardId shardId)
public PercolateShardResponse(long count, PercolateContext context, ShardId shardId)
public PercolateShardResponse(PercolateContext context, ShardId shardId)
public org.apache.lucene.util.BytesRef[] matches()
public float[] scores()
public long count()
public int requestedSize()
public List<Map<String,HighlightField>> hls()
public InternalAggregations aggregations()
public List<SiblingPipelineAggregator> pipelineAggregators()
public byte percolatorTypeId()
public boolean isEmpty()
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class BroadcastShardResponse
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class BroadcastShardResponse
IOException
Copyright © 2009–2016. All rights reserved.