public class RescorePhase extends AbstractComponent implements SearchPhase
deprecationLogger, logger, settings
Constructor and Description |
---|
RescorePhase(Settings settings) |
Modifier and Type | Method and Description |
---|---|
void |
execute(SearchContext context) |
java.util.Map<java.lang.String,? extends SearchParseElement> |
parseElements()
rescorers do not have a parse element, they use
RescoreBuilder.parseFromXContent(org.elasticsearch.index.query.QueryParseContext) for parsing instead. |
void |
preProcess(SearchContext context)
Performs pre processing of the search context before the execute.
|
logDeprecatedSetting, logRemovedSetting, nodeName
public java.util.Map<java.lang.String,? extends SearchParseElement> parseElements()
RescoreBuilder.parseFromXContent(org.elasticsearch.index.query.QueryParseContext)
for parsing instead.parseElements
in interface SearchPhase
public void preProcess(SearchContext context)
SearchPhase
preProcess
in interface SearchPhase
public void execute(SearchContext context)
execute
in interface SearchPhase