Package org.elasticsearch.search
Interface SearchPhase
- All Known Implementing Classes:
AggregationPhase,DfsPhase,FetchPhase,QueryPhase,RescorePhase,SuggestPhase
public interface SearchPhase
Represents a phase of a search request e.g. query, fetch etc.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSearchPhase.SearchContextSourcePrinter -
Method Summary
Modifier and Type Method Description voidexecute(SearchContext context)Executes the search phasevoidpreProcess(SearchContext context)Performs pre processing of the search context before the execute.
-
Method Details
-
preProcess
Performs pre processing of the search context before the execute. -
execute
Executes the search phase
-