FetchSubPhase
public final class ParentFieldSubFetchPhase extends java.lang.Object implements FetchSubPhase
FetchSubPhase.HitContext
Constructor | Description |
---|---|
ParentFieldSubFetchPhase() |
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) |
hitExecute
public void hitsExecute(SearchContext context, SearchHit[] hits) throws java.io.IOException
hitsExecute
in interface FetchSubPhase
java.io.IOException
public static java.lang.String getParentId(ParentFieldMapper fieldMapper, org.apache.lucene.index.LeafReader reader, int docId)