public abstract static class InnerHitsContext.InnerHitSubContext extends SubSearchContext
SearchContext.Lifetime
Modifier and Type | Field and Description |
---|---|
protected SearchContext |
context |
DEFAULT_TERMINATE_AFTER
Modifier | Constructor and Description |
---|---|
protected |
InnerHitSubContext(java.lang.String name,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.lucene.search.Weight |
createInnerHitQueryWeight() |
java.lang.String |
getName()
gets the name of this instance
|
Uid |
getUid() |
InnerHitsContext |
innerHits() |
SearchContext |
parentSearchContext() |
void |
setChildInnerHits(java.util.Map<java.lang.String,InnerHitsContext.InnerHitSubContext> childInnerHits) |
void |
setUid(Uid uid) |
abstract org.apache.lucene.search.TopDocs[] |
topDocs(SearchHit[] hits) |
accessed, addRescore, aggregations, buildFilteredQuery, collapse, docIdsToLoad, docIdsToLoad, docIdsToLoadFrom, docIdsToLoadSize, doClose, docValueFieldsContext, docValueFieldsContext, explain, explain, fetchResult, fetchSourceContext, fetchSourceContext, from, from, groupStats, hasFetchSourceContext, hasScriptFields, hasStoredFields, hasStoredFieldsContext, highlight, highlight, keepAlive, minimumScore, parsedPostFilter, parsedQuery, parsedQuery, preProcess, query, queryResult, scriptFields, scrollContext, size, size, sort, sort, sourceRequested, storedFieldsContext, storedFieldsContext, storedFieldsRequested, suggest, terminateAfter, timeEstimateCounter, timeout, trackScores, trackScores, version, version
addSearchExt, aggregations, aliasFilter, bigArrays, bitsetFilterCache, collapse, dfsResult, fetchPhase, fieldData, getObjectMapper, getOriginNanoTime, getProfilers, getQueryShardContext, getSearchExt, getTask, groupStats, id, indexShard, isCancelled, keepAlive, lastAccessTime, lookup, lowLevelCancellation, mapperService, minimumScore, numberOfShards, parsedPostFilter, queryBoost, queryCollectors, request, rescore, scrollContext, searchAfter, searchAfter, searcher, searchType, setTask, shardTarget, similarityService, smartNameFieldType, source, suggest, terminateAfter, timeout
addReleasable, alreadyClosed, clearReleasables, close, closeInternal, hasOnlySuggest, toString
decRef, incRef, refCount, tryIncRef
protected final SearchContext context
protected InnerHitSubContext(java.lang.String name, SearchContext context)
public abstract org.apache.lucene.search.TopDocs[] topDocs(SearchHit[] hits) throws java.io.IOException
java.io.IOException
public java.lang.String getName()
AbstractRefCounted
getName
in class AbstractRefCounted
public InnerHitsContext innerHits()
innerHits
in class FilteredSearchContext
public void setChildInnerHits(java.util.Map<java.lang.String,InnerHitsContext.InnerHitSubContext> childInnerHits)
protected org.apache.lucene.search.Weight createInnerHitQueryWeight() throws java.io.IOException
java.io.IOException
public SearchContext parentSearchContext()
public Uid getUid()
public void setUid(Uid uid)