public class InternalSearchResponse extends SearchResponseSections implements Writeable, ToXContent
SearchResponseSections
subclass that can be serialized over the wire.Writeable.Reader<V>, Writeable.Writer<V>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
aggregations, hits, numReducePhases, profileResults, suggest, terminatedEarly, timedOut
EMPTY_PARAMS
Constructor and Description |
---|
InternalSearchResponse(SearchHits hits,
InternalAggregations aggregations,
Suggest suggest,
SearchProfileShardResults profileResults,
boolean timedOut,
java.lang.Boolean terminatedEarly,
int numReducePhases) |
InternalSearchResponse(StreamInput in) |
Modifier and Type | Method and Description |
---|---|
static InternalSearchResponse |
empty() |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
aggregations, getNumReducePhases, hits, profile, suggest, terminatedEarly, timedOut, toXContent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFragment, toXContent
public InternalSearchResponse(SearchHits hits, InternalAggregations aggregations, Suggest suggest, SearchProfileShardResults profileResults, boolean timedOut, java.lang.Boolean terminatedEarly, int numReducePhases)
public InternalSearchResponse(StreamInput in) throws java.io.IOException
java.io.IOException
public static InternalSearchResponse empty()
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
writeTo
in interface Writeable
writeTo
in class SearchResponseSections
java.io.IOException