Class HighlightPhase
java.lang.Object
org.elasticsearch.search.fetch.subphase.highlight.HighlightPhase
- All Implemented Interfaces:
FetchSubPhase
public class HighlightPhase extends java.lang.Object implements FetchSubPhase
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.search.fetch.FetchSubPhase
FetchSubPhase.HitContext -
Constructor Summary
Constructors Constructor Description HighlightPhase(java.util.Map<java.lang.String,Highlighter> highlighters) -
Method Summary
Modifier and Type Method Description FetchSubPhaseProcessorgetProcessor(FetchContext context)Returns aFetchSubPhaseProcessorfor this sub phase.FetchSubPhaseProcessorgetProcessor(FetchContext context, SearchHighlightContext highlightContext, org.apache.lucene.search.Query query)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
HighlightPhase
-
-
Method Details
-
getProcessor
Description copied from interface:FetchSubPhaseReturns aFetchSubPhaseProcessorfor this sub phase. If nothing should be executed for the providedFetchContext, then the implementation should returnnull- Specified by:
getProcessorin interfaceFetchSubPhase
-
getProcessor
public FetchSubPhaseProcessor getProcessor(FetchContext context, SearchHighlightContext highlightContext, org.apache.lucene.search.Query query)
-