public class SubSearchContext extends FilteredSearchContext
SearchContext.LifetimeDEFAULT_TERMINATE_AFTER, parseFieldMatcher| コンストラクタと説明 |
|---|
SubSearchContext(SearchContext context) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
accessed(long accessTime) |
void |
addRescore(RescoreSearchContext rescore) |
SearchContext |
aggregations(SearchContextAggregations aggregations) |
int[] |
docIdsToLoad() |
SearchContext |
docIdsToLoad(int[] docIdsToLoad,
int docsIdsToLoadFrom,
int docsIdsToLoadSize) |
int |
docIdsToLoadFrom() |
int |
docIdsToLoadSize() |
protected void |
doClose() |
void |
emptyFieldNames() |
boolean |
explain() |
void |
explain(boolean explain) |
FetchSearchResult |
fetchResult() |
FetchSourceContext |
fetchSourceContext() |
SearchContext |
fetchSourceContext(FetchSourceContext fetchSourceContext) |
List<String> |
fieldNames() |
int |
from() |
SearchContext |
from(int from) |
void |
groupStats(List<String> groupStats) |
boolean |
hasFetchSourceContext() |
boolean |
hasFieldNames() |
boolean |
hasScriptFields() |
SearchContextHighlight |
highlight() |
void |
highlight(SearchContextHighlight highlight) |
void |
keepAlive(long keepAlive) |
SearchLookup |
lookup() |
SearchContext |
minimumScore(float minimumScore) |
SearchContext |
parsedPostFilter(ParsedQuery postFilter) |
void |
preProcess()
Should be called before executing the main query and after all other parameters have been set.
|
SearchContext |
queryBoost(float queryBoost) |
QuerySearchResult |
queryResult() |
ScriptFieldsContext |
scriptFields() |
SearchContext |
scrollContext(ScrollContext scrollContext) |
org.apache.lucene.search.Query |
searchFilter(String[] types) |
SearchContext |
searchType(SearchType searchType) |
int |
size() |
SearchContext |
size(int size) |
org.apache.lucene.search.Sort |
sort() |
SearchContext |
sort(org.apache.lucene.search.Sort sort) |
boolean |
sourceRequested()
A shortcut function to see whether there is a fetchSourceContext and it says the source is requested.
|
void |
suggest(SuggestionSearchContext suggest) |
void |
terminateAfter(int terminateAfter) |
org.apache.lucene.util.Counter |
timeEstimateCounter() |
void |
timeoutInMillis(long timeoutInMillis) |
boolean |
trackScores() |
SearchContext |
trackScores(boolean trackScores) |
boolean |
version() |
void |
version(boolean version) |
aggregations, aliasFilter, analysisService, bigArrays, bitsetFilterCache, dfsResult, fieldData, getFetchSubPhaseContext, getObjectMapper, getOriginNanoTime, getProfilers, groupStats, hasTypes, id, indexShard, innerHits, keepAlive, lastAccessTime, mapperService, minimumScore, nowInMillisImpl, numberOfShards, pageCacheRecycler, parsedPostFilter, parsedQuery, parsedQuery, query, queryBoost, queryCollectors, queryParserService, request, rescore, scanContext, scriptService, scrollContext, searcher, searchType, shardTarget, similarityService, smartNameFieldType, smartNameFieldTypeFromAnyType, source, suggest, terminateAfter, timeoutInMillis, typesaddReleasable, clearReleasables, close, current, nowInMillis, nowInMillisUsed, parseFieldMatcher, removeCurrent, setCurrentcontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic SubSearchContext(SearchContext context)
protected void doClose()
doClose クラス内 FilteredSearchContextpublic void preProcess()
SearchContextpreProcess クラス内 FilteredSearchContextpublic org.apache.lucene.search.Query searchFilter(String[] types)
searchFilter クラス内 FilteredSearchContextpublic SearchContext searchType(SearchType searchType)
searchType クラス内 FilteredSearchContextpublic SearchContext queryBoost(float queryBoost)
queryBoost クラス内 FilteredSearchContextpublic SearchContext scrollContext(ScrollContext scrollContext)
scrollContext クラス内 FilteredSearchContextpublic SearchContext aggregations(SearchContextAggregations aggregations)
aggregations クラス内 FilteredSearchContextpublic SearchContextHighlight highlight()
highlight クラス内 FilteredSearchContextpublic void highlight(SearchContextHighlight highlight)
highlight クラス内 FilteredSearchContextpublic void suggest(SuggestionSearchContext suggest)
suggest クラス内 FilteredSearchContextpublic void addRescore(RescoreSearchContext rescore)
addRescore クラス内 FilteredSearchContextpublic boolean hasScriptFields()
hasScriptFields クラス内 FilteredSearchContextpublic ScriptFieldsContext scriptFields()
scriptFields クラス内 FilteredSearchContextpublic boolean sourceRequested()
SearchContextsourceRequested クラス内 FilteredSearchContextpublic boolean hasFetchSourceContext()
hasFetchSourceContext クラス内 FilteredSearchContextpublic FetchSourceContext fetchSourceContext()
fetchSourceContext クラス内 FilteredSearchContextpublic SearchContext fetchSourceContext(FetchSourceContext fetchSourceContext)
fetchSourceContext クラス内 FilteredSearchContextpublic void timeoutInMillis(long timeoutInMillis)
timeoutInMillis クラス内 FilteredSearchContextpublic void terminateAfter(int terminateAfter)
terminateAfter クラス内 FilteredSearchContextpublic SearchContext minimumScore(float minimumScore)
minimumScore クラス内 FilteredSearchContextpublic SearchContext sort(org.apache.lucene.search.Sort sort)
sort クラス内 FilteredSearchContextpublic org.apache.lucene.search.Sort sort()
sort クラス内 FilteredSearchContextpublic SearchContext trackScores(boolean trackScores)
trackScores クラス内 FilteredSearchContextpublic boolean trackScores()
trackScores クラス内 FilteredSearchContextpublic SearchContext parsedPostFilter(ParsedQuery postFilter)
parsedPostFilter クラス内 FilteredSearchContextpublic int from()
from クラス内 FilteredSearchContextpublic SearchContext from(int from)
from クラス内 FilteredSearchContextpublic int size()
size クラス内 FilteredSearchContextpublic SearchContext size(int size)
size クラス内 FilteredSearchContextpublic boolean hasFieldNames()
hasFieldNames クラス内 FilteredSearchContextpublic List<String> fieldNames()
fieldNames クラス内 FilteredSearchContextpublic void emptyFieldNames()
emptyFieldNames クラス内 FilteredSearchContextpublic boolean explain()
explain クラス内 FilteredSearchContextpublic void explain(boolean explain)
explain クラス内 FilteredSearchContextpublic void groupStats(List<String> groupStats)
groupStats クラス内 FilteredSearchContextpublic boolean version()
version クラス内 FilteredSearchContextpublic void version(boolean version)
version クラス内 FilteredSearchContextpublic int[] docIdsToLoad()
docIdsToLoad クラス内 FilteredSearchContextpublic int docIdsToLoadFrom()
docIdsToLoadFrom クラス内 FilteredSearchContextpublic int docIdsToLoadSize()
docIdsToLoadSize クラス内 FilteredSearchContextpublic SearchContext docIdsToLoad(int[] docIdsToLoad, int docsIdsToLoadFrom, int docsIdsToLoadSize)
docIdsToLoad クラス内 FilteredSearchContextpublic void accessed(long accessTime)
accessed クラス内 FilteredSearchContextpublic void keepAlive(long keepAlive)
keepAlive クラス内 FilteredSearchContextpublic QuerySearchResult queryResult()
queryResult クラス内 FilteredSearchContextpublic FetchSearchResult fetchResult()
fetchResult クラス内 FilteredSearchContextpublic SearchLookup lookup()
lookup クラス内 FilteredSearchContextpublic org.apache.lucene.util.Counter timeEstimateCounter()
timeEstimateCounter クラス内 FilteredSearchContextCopyright © 2009–2016. All rights reserved.