Package org.elasticsearch.search.suggest
Class SuggestPhase
- java.lang.Object
-
- org.elasticsearch.common.component.AbstractComponent
-
- org.elasticsearch.search.suggest.SuggestPhase
-
- All Implemented Interfaces:
SearchPhase
public class SuggestPhase extends AbstractComponent implements SearchPhase
Suggest phase of a search request, used to collect suggestions
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
deprecationLogger, logger, settings
-
-
Constructor Summary
Constructors Constructor Description SuggestPhase(Settings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods 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.-
Methods inherited from class org.elasticsearch.common.component.AbstractComponent
logDeprecatedSetting, logRemovedSetting, nodeName
-
-
-
-
Constructor Detail
-
SuggestPhase
public SuggestPhase(Settings settings)
-
-
Method Detail
-
preProcess
public void preProcess(SearchContext context)
Description copied from interface:SearchPhase
Performs pre processing of the search context before the execute.- Specified by:
preProcess
in interfaceSearchPhase
-
execute
public void execute(SearchContext context)
Description copied from interface:SearchPhase
Executes the search phase- Specified by:
execute
in interfaceSearchPhase
-
-