Class InternalSearchResponse
java.lang.Object
org.elasticsearch.action.search.SearchResponseSections
org.elasticsearch.search.internal.InternalSearchResponse
- All Implemented Interfaces:
- Writeable,- org.elasticsearch.common.xcontent.ToXContent,- org.elasticsearch.common.xcontent.ToXContentFragment
public class InternalSearchResponse
extends SearchResponseSections
implements Writeable, org.elasticsearch.common.xcontent.ToXContentFragment
SearchResponseSections subclass that can be serialized over the wire.- 
Nested Class SummaryNested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContentorg.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.WriteableWriteable.Reader<V>, Writeable.Writer<V>
- 
Field SummaryFields inherited from class org.elasticsearch.action.search.SearchResponseSectionsaggregations, hits, numReducePhases, profileResults, suggest, terminatedEarly, timedOutFields inherited from interface org.elasticsearch.common.xcontent.ToXContentEMPTY_PARAMS
- 
Constructor SummaryConstructorsConstructorDescriptionInternalSearchResponse(SearchHits hits, InternalAggregations aggregations, Suggest suggest, SearchProfileShardResults profileResults, boolean timedOut, Boolean terminatedEarly, int numReducePhases)
- 
Method SummaryModifier and TypeMethodDescriptionstatic InternalSearchResponseempty()static InternalSearchResponseempty(boolean withTotalHits)voidwriteTo(StreamOutput out)Write this into the StreamOutput.Methods inherited from class org.elasticsearch.action.search.SearchResponseSectionsaggregations, getNumReducePhases, hits, profile, suggest, terminatedEarly, timedOut, toXContentMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.common.xcontent.ToXContenttoXContentMethods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragmentisFragment
- 
Constructor Details- 
InternalSearchResponsepublic InternalSearchResponse(SearchHits hits, InternalAggregations aggregations, Suggest suggest, SearchProfileShardResults profileResults, boolean timedOut, Boolean terminatedEarly, int numReducePhases)
- 
InternalSearchResponse- Throws:
- IOException
 
 
- 
- 
Method Details- 
empty
- 
empty
- 
writeToDescription copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
- writeToin interface- Writeable
- Overrides:
- writeToin class- SearchResponseSections
- Throws:
- IOException
 
 
-