Package org.opensearch.search.fetch
Interface FetchSubPhase
-
- All Known Implementing Classes:
ExplainPhase
,FetchDocValuesPhase
,FetchFieldsPhase
,FetchScorePhase
,FetchSourcePhase
,FetchVersionPhase
,HighlightPhase
,InnerHitsPhase
,MatchedQueriesPhase
,ScriptFieldsPhase
,SeqNoPrimaryTermPhase
public interface FetchSubPhase
Sub phase within the fetch phase used to fetch things *about* the documents like highlighting or matched queries.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FetchSubPhase.HitContext
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FetchSubPhaseProcessor
getProcessor(FetchContext fetchContext)
Returns aFetchSubPhaseProcessor
for this sub phase.
-
-
-
Method Detail
-
getProcessor
FetchSubPhaseProcessor getProcessor(FetchContext fetchContext) throws java.io.IOException
Returns aFetchSubPhaseProcessor
for this sub phase. If nothing should be executed for the providedFetchContext
, then the implementation should returnnull
- Throws:
java.io.IOException
-
-