Class SearchPhaseResult

java.lang.Object
All Implemented Interfaces:
Writeable
Direct Known Subclasses:
DfsSearchResult, FetchSearchResult, QueryFetchSearchResult, QuerySearchResult, ScrollQueryFetchSearchResult, ScrollQuerySearchResult, SearchService.CanMatchResponse

public abstract class SearchPhaseResult
extends TransportResponse
This class is a base class for all search related results. It contains the shard target it was executed against, a shard index used to reference the result on the coordinating node and a request ID that is used to reference the request context on the executing node. The request ID is particularly important since it is used to reference and maintain a context across search phases to ensure the same point in time snapshot is used for querying and fetching etc.