Package org.elasticsearch.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
Modifier and Type Method Description FetchSubPhaseProcessor
getProcessor(FetchContext fetchContext)
Returns aFetchSubPhaseProcessor
for this sub phase.
-
Method Details
-
getProcessor
Returns aFetchSubPhaseProcessor
for this sub phase. If nothing should be executed for the providedFetchContext
, then the implementation should returnnull
- Throws:
java.io.IOException
-