public class FetchPhase extends Object implements SearchPhase
Constructor and Description |
---|
FetchPhase(HighlightPhase highlightPhase,
ScriptFieldsFetchSubPhase scriptFieldsPhase,
PartialFieldsFetchSubPhase partialFieldsPhase,
MatchedQueriesFetchSubPhase matchedQueriesPhase,
ExplainFetchSubPhase explainPhase,
VersionFetchSubPhase versionPhase,
FetchSourceSubPhase fetchSourceSubPhase,
FieldDataFieldsFetchSubPhase fieldDataFieldsFetchSubPhase,
InnerHitsFetchSubPhase innerHitsFetchSubPhase) |
Modifier and Type | Method and Description |
---|---|
void |
execute(SearchContext context) |
Map<String,? extends SearchParseElement> |
parseElements() |
void |
preProcess(SearchContext context)
Performs pre processing of the search context before the execute.
|
@Inject public FetchPhase(HighlightPhase highlightPhase, ScriptFieldsFetchSubPhase scriptFieldsPhase, PartialFieldsFetchSubPhase partialFieldsPhase, MatchedQueriesFetchSubPhase matchedQueriesPhase, ExplainFetchSubPhase explainPhase, VersionFetchSubPhase versionPhase, FetchSourceSubPhase fetchSourceSubPhase, FieldDataFieldsFetchSubPhase fieldDataFieldsFetchSubPhase, InnerHitsFetchSubPhase innerHitsFetchSubPhase)
public Map<String,? extends SearchParseElement> parseElements()
parseElements
in interface SearchPhase
public void preProcess(SearchContext context)
SearchPhase
preProcess
in interface SearchPhase
public void execute(SearchContext context)
execute
in interface SearchPhase
Copyright © 2009–2015. All rights reserved.