Class HighlightPhase
java.lang.Object
org.elasticsearch.search.fetch.subphase.highlight.HighlightPhase
- All Implemented Interfaces:
FetchSubPhase
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.search.fetch.FetchSubPhase
FetchSubPhase.HitContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetProcessor(FetchContext context)
Returns aFetchSubPhaseProcessor
for this sub phase.getProcessor(FetchContext context, SearchHighlightContext highlightContext, org.apache.lucene.search.Query query)
-
Constructor Details
-
HighlightPhase
-
-
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
-
getProcessor
public FetchSubPhaseProcessor getProcessor(FetchContext context, SearchHighlightContext highlightContext, org.apache.lucene.search.Query query)
-