public class InternalSearchResponse extends SearchResponseSections implements Writeable, ToXContentFragment
SearchResponseSections subclass that can be serialized over the wire.Writeable.Reader<V>, Writeable.Writer<V>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Paramsaggregations, hits, numReducePhases, profileResults, suggest, terminatedEarly, timedOutEMPTY_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, toXContentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFragmenttoXContentpublic 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.IOExceptionpublic static InternalSearchResponse empty()
public void writeTo(StreamOutput out) throws java.io.IOException
WriteablewriteTo in interface WriteablewriteTo in class SearchResponseSectionsjava.io.IOException