java.io.Closeable, java.lang.AutoCloseable, Releasable, RefCountedpublic 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, tryIncRefaddSearchExt, 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, trackTotalHitsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddReleasable, alreadyClosed, clearReleasables, close, closeInternal, hasOnlySuggest, toStringaccessed, 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, versionprotected 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)