Package org.elasticsearch.search.rescore
Class RescorePhase
- java.lang.Object
-
- org.elasticsearch.search.rescore.RescorePhase
-
- All Implemented Interfaces:
SearchPhase
public class RescorePhase extends java.lang.Object implements SearchPhase
Rescore phase of a search request, used to run potentially expensive scoring models against the top matching documents.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.search.SearchPhase
SearchPhase.SearchContextSourcePrinter
-
-
Constructor Summary
Constructors Constructor Description RescorePhase()
-
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 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
-
-