Class FetchDocValuesPhase
java.lang.Object
org.elasticsearch.search.fetch.subphase.FetchDocValuesPhase
- All Implemented Interfaces:
FetchSubPhase
public final class FetchDocValuesPhase extends java.lang.Object implements FetchSubPhase
Fetch sub phase which pulls data from doc values.
Specifying
"docvalue_fields": ["field1", "field2"]-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.search.fetch.FetchSubPhase
FetchSubPhase.HitContext -
Constructor Summary
Constructors Constructor Description FetchDocValuesPhase() -
Method Summary
Modifier and Type Method Description voidhitsExecute(SearchContext context, SearchHit[] hits)Executes the hits level phase (note, hits are sorted by doc ids).
-
Constructor Details
-
FetchDocValuesPhase
public FetchDocValuesPhase()
-
-
Method Details
-
hitsExecute
Description copied from interface:FetchSubPhaseExecutes the hits level phase (note, hits are sorted by doc ids).- Specified by:
hitsExecutein interfaceFetchSubPhase- Throws:
java.io.IOException
-