Class InnerHitsContext
- java.lang.Object
-
- org.elasticsearch.search.fetch.subphase.InnerHitsContext
-
public final class InnerHitsContext extends java.lang.Object
Context used for inner hits retrieval
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InnerHitsContext.InnerHitSubContext
-
Constructor Summary
Constructors Constructor Description InnerHitsContext()
-
Method Summary
Modifier and Type Method Description void
addInnerHitDefinition(InnerHitsContext.InnerHitSubContext innerHit)
java.util.Map<java.lang.String,InnerHitsContext.InnerHitSubContext>
getInnerHits()
static void
intersect(org.apache.lucene.search.Weight weight, org.apache.lucene.search.Weight innerHitQueryWeight, org.apache.lucene.search.Collector collector, org.apache.lucene.index.LeafReaderContext ctx)
-
-
-
Method Detail
-
getInnerHits
public java.util.Map<java.lang.String,InnerHitsContext.InnerHitSubContext> getInnerHits()
-
addInnerHitDefinition
public void addInnerHitDefinition(InnerHitsContext.InnerHitSubContext innerHit)
-
intersect
public static void intersect(org.apache.lucene.search.Weight weight, org.apache.lucene.search.Weight innerHitQueryWeight, org.apache.lucene.search.Collector collector, org.apache.lucene.index.LeafReaderContext ctx) throws java.io.IOException
- Throws:
java.io.IOException
-
-