Package org.elasticsearch.search.rescore
Class RescorePhase
- java.lang.Object
-
- org.elasticsearch.common.component.AbstractComponent
-
- org.elasticsearch.search.rescore.RescorePhase
-
- All Implemented Interfaces:
SearchPhase
public class RescorePhase extends AbstractComponent implements SearchPhase
Rescore phase of a search request, used to run potentially expensive scoring models against the top matching documents.
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
deprecationLogger, logger, settings
-
-
Constructor Summary
Constructors Constructor Description RescorePhase(Settings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(SearchContext context)Executes the search phasevoidpreProcess(SearchContext context)Performs pre processing of the search context before the execute.-
Methods inherited from class org.elasticsearch.common.component.AbstractComponent
nodeName
-
-
-
-
Constructor Detail
-
RescorePhase
public RescorePhase(Settings settings)
-
-
Method Detail
-
preProcess
public void preProcess(SearchContext context)
Description copied from interface:SearchPhasePerforms pre processing of the search context before the execute.- Specified by:
preProcessin interfaceSearchPhase
-
execute
public void execute(SearchContext context)
Description copied from interface:SearchPhaseExecutes the search phase- Specified by:
executein interfaceSearchPhase
-
-