Writeable, ToXContent, ToXContentFragmentpublic class InternalSearchResponse extends SearchResponseSections implements Writeable, ToXContentFragment
SearchResponseSections subclass that can be serialized over the wire.ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>aggregations, hits, numReducePhases, profileResults, suggest, terminatedEarly, timedOutEMPTY_PARAMS| Constructor | Description |
|---|---|
InternalSearchResponse(StreamInput in) |
|
InternalSearchResponse(SearchHits hits,
InternalAggregations aggregations,
Suggest suggest,
SearchProfileShardResults profileResults,
boolean timedOut,
java.lang.Boolean terminatedEarly,
int numReducePhases) |
| Modifier and Type | Method | Description |
|---|---|---|
static InternalSearchResponse |
empty() |
|
void |
writeTo(StreamOutput out) |
Write this into the StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaggregations, getNumReducePhases, hits, profile, suggest, terminatedEarly, timedOut, toXContenttoXContentisFragmentpublic 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