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