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 SearchPhasepublic void preProcess(SearchContext context)
SearchPhasepreProcess in interface SearchPhasepublic void execute(SearchContext context)
execute in interface SearchPhaseCopyright © 2009–2016. All rights reserved.