java.io.Closeable
, java.lang.AutoCloseable
, Releasable
, RefCounted
public abstract static class InnerHitsContext.InnerHitSubContext extends SubSearchContext
SearchContext.Lifetime
Modifier and Type | Field | Description |
---|---|---|
protected SearchContext |
context |
DEFAULT_TERMINATE_AFTER
Modifier | Constructor | Description |
---|---|---|
protected |
InnerHitSubContext(java.lang.String name,
SearchContext context) |
Modifier and Type | Method | 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) |
decRef, incRef, refCount, tryIncRef
addSearchExt, 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, trackTotalHits
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addReleasable, alreadyClosed, clearReleasables, close, closeInternal, hasOnlySuggest, toString
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
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)