java.lang.Object
org.elasticsearch.search.fetch.FetchPhase
Fetch phase of a search request, used to fetch the actual top matching documents to be returned to the client, identified
after reducing all of the matches returned by the query phase
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(SearchContext context, int[] docIdsToLoad, RankDocShardInfo rankDocs) voidexecute(SearchContext context, int[] docIdsToLoad, RankDocShardInfo rankDocs, IntConsumer memoryChecker)
-
Constructor Details
-
FetchPhase
-
-
Method Details
-
execute
-
execute
public void execute(SearchContext context, int[] docIdsToLoad, RankDocShardInfo rankDocs, @Nullable IntConsumer memoryChecker) - Parameters:
context-docIdsToLoad-rankDocs-memoryChecker- if not provided, the fetch phase will use the circuit breaker to check memory usage
-