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 class
SearchPhase.SearchContextSourcePrinter
-
Method Summary
Modifier and Type Method Description void
execute(SearchContext context)
Executes the search phasevoid
preProcess(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
-