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, versionaddSearchExt, aggregations, aliasFilter, bigArrays, bitsetFilterCache, collapse, dfsResult, fetchPhase, getForField, 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, trackTotalHits, trackTotalHitsaddReleasable, alreadyClosed, clearReleasables, close, closeInternal, hasOnlySuggest, toStringdecRef, incRef, refCount, tryIncRefprotected 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.IOExceptionpublic java.lang.String getName()
AbstractRefCountedgetName in class AbstractRefCountedpublic InnerHitsContext innerHits()
innerHits in class FilteredSearchContextpublic void setChildInnerHits(java.util.Map<java.lang.String,InnerHitsContext.InnerHitSubContext> childInnerHits)
protected org.apache.lucene.search.Weight createInnerHitQueryWeight()
throws java.io.IOException
java.io.IOExceptionpublic SearchContext parentSearchContext()
public Uid getUid()
public void setUid(Uid uid)