public final class ParentFieldSubFetchPhase extends java.lang.Object implements FetchSubPhase
FetchSubPhase.HitContext
Constructor and Description |
---|
ParentFieldSubFetchPhase() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getParentId(ParentFieldMapper fieldMapper,
org.apache.lucene.index.LeafReader reader,
int docId) |
void |
hitExecute(SearchContext context,
FetchSubPhase.HitContext hitContext)
Executes the hit level phase, with a reader and doc id (note, its a low level reader, and the matching doc).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hitsExecute
public void hitExecute(SearchContext context, FetchSubPhase.HitContext hitContext)
FetchSubPhase
hitExecute
in interface FetchSubPhase
public static java.lang.String getParentId(ParentFieldMapper fieldMapper, org.apache.lucene.index.LeafReader reader, int docId)