Class FetchFieldsPhase
java.lang.Object
org.opensearch.search.fetch.subphase.FetchFieldsPhase
- All Implemented Interfaces:
FetchSubPhase
public final class FetchFieldsPhase extends java.lang.Object implements 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.opensearch.search.fetch.FetchSubPhase
FetchSubPhase.HitContext
-
Constructor Summary
Constructors Constructor Description FetchFieldsPhase()
-
Method Summary
Modifier and Type Method Description FetchSubPhaseProcessor
getProcessor(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
-