Class FetchFieldsPhase
java.lang.Object
org.elasticsearch.search.fetch.subphase.FetchFieldsPhase
- All Implemented Interfaces:
FetchSubPhase
A fetch sub-phase for high-level field retrieval. Given a list of fields, it
retrieves the field values from _source and returns them as document fields.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.search.fetch.FetchSubPhase
FetchSubPhase.HitContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetProcessor(FetchContext fetchContext)
Returns aFetchSubPhaseProcessor
for this sub phase.
-
Constructor Details
-
FetchFieldsPhase
public FetchFieldsPhase()
-
-
Method Details
-
getProcessor
Description copied from interface:FetchSubPhase
Returns aFetchSubPhaseProcessor
for this sub phase. If nothing should be executed for the providedFetchContext
, then the implementation should returnnull
- Specified by:
getProcessor
in interfaceFetchSubPhase
-