public class PercolateShardResponse extends BroadcastShardOperationResponse
TransportResponse.Empty
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() |
InternalFacets |
facets() |
List<Map<String,HighlightField>> |
hls() |
boolean |
isEmpty() |
org.apache.lucene.util.BytesRef[] |
matches() |
byte |
percolatorTypeId() |
void |
readFrom(StreamInput in) |
int |
requestedSize() |
float[] |
scores() |
void |
writeTo(StreamOutput out) |
getIndex, getShardId
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddress
contextSize, copyContextFrom, getContext, getFromContext, getFromContext, hasInContext, isContextEmpty, putAllInContext, 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 InternalFacets facets()
public InternalAggregations aggregations()
public byte percolatorTypeId()
public boolean isEmpty()
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class BroadcastShardOperationResponse
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class BroadcastShardOperationResponse
IOException
Copyright © 2009–2015. All rights reserved.