Class ParentFieldSubFetchPhase
- java.lang.Object
-
- org.elasticsearch.search.fetch.subphase.ParentFieldSubFetchPhase
-
- All Implemented Interfaces:
FetchSubPhase
public final class ParentFieldSubFetchPhase 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 ParentFieldSubFetchPhase()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getParentId(ParentFieldMapper fieldMapper, org.apache.lucene.index.LeafReader reader, int docId)
void
hitsExecute(SearchContext context, SearchHit[] hits)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.search.fetch.FetchSubPhase
hitExecute
-
-
-
-
Method Detail
-
hitsExecute
public void hitsExecute(SearchContext context, SearchHit[] hits) throws java.io.IOException
- Specified by:
hitsExecute
in interfaceFetchSubPhase
- Throws:
java.io.IOException
-
getParentId
public static java.lang.String getParentId(ParentFieldMapper fieldMapper, org.apache.lucene.index.LeafReader reader, int docId)
-
-