All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.search.DefaultSearchContext.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????4,/com/groupbyinc/flux/search/DefaultSearchContext1com/groupbyinc/flux/search/internal/SearchContextDefaultSearchContext.java0com/groupbyinc/flux/index/engine/Engine$Searcher'com/groupbyinc/flux/index/engine/EngineSearcherDcom/groupbyinc/flux/common/apache/lucene/search/BooleanQuery$Builder;
scrollContext3Lcom/groupbyinc/flux/search/internal/ScrollContext;explainZversionstoredFields6Lcom/groupbyinc/flux/search/fetch/StoredFieldsContext;scriptFields?Lcom/groupbyinc/flux/search/fetch/subphase/ScriptFieldsContext;fetchSourceContext>Lcom/groupbyinc/flux/search/fetch/subphase/FetchSourceContext;docValueFieldsContextALcom/groupbyinc/flux/search/fetch/subphase/DocValueFieldsContext;fromsizesort0Lcom/groupbyinc/flux/search/sort/SortAndFormats;minimumScoreLjava/lang/Float;trackScorestrackTotalHitssearchAfter:Lcom/groupbyinc/flux/common/apache/lucene/search/FieldDoc;collapse5Lcom/groupbyinc/flux/search/collapse/CollapseContext;lowLevelCancellationsliceBuilder/Lcom/groupbyinc/flux/search/slice/SliceBuilder;task.Lcom/groupbyinc/flux/action/search/SearchTask;
originalQuery-Lcom/groupbyinc/flux/index/query/ParsedQuery;query7Lcom/groupbyinc/flux/common/apache/lucene/search/Query;
postFilteraliasFilterdocIdsToLoad[IdocsIdsToLoadFromdocsIdsToLoadSizeaggregationsCLcom/groupbyinc/flux/search/aggregations/SearchContextAggregations;	highlightLLcom/groupbyinc/flux/search/fetch/subphase/highlight/SearchContextHighlight;suggest;	keepAliveoriginNanoTimelastAccessTime	profilers.Lcom/groupbyinc/flux/search/profile/Profilers;searchExtBuildersLjava/util/Map;PLjava/util/Map;queryCollectors`Ljava/util/Map;Lcom/groupbyinc/flux/common/apache/lucene/search/Collector;>;queryShardContext3Lcom/groupbyinc/flux/index/query/QueryShardContext;
fetchPhase-Lcom/groupbyinc/flux/search/fetch/FetchPhase;?(JLcom/groupbyinc/flux/search/internal/ShardSearchRequest;Lcom/groupbyinc/flux/search/SearchShardTarget;Lcom/groupbyinc/flux/index/engine/Engine$Searcher;Lcom/groupbyinc/flux/index/IndexService;Lcom/groupbyinc/flux/index/shard/IndexShard;Lcom/groupbyinc/flux/common/util/BigArrays;Lcom/groupbyinc/flux/common/apache/lucene/util/Counter;Lcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/search/fetch/FetchPhase;Ljava/lang/String;)V()V{}
~89	?A@	?J9	?K9	?P@	?Q@	?java/lang/System?nanoTime()J??
??n	?????????o	?java/util/HashMap?
?~rs	?us	?	?	?yz	?6com/groupbyinc/flux/search/internal/ShardSearchRequest?0()Lcom/groupbyinc/flux/action/search/SearchType;"???"#	?	?$%	?)com/groupbyinc/flux/common/util/BigArrays?withCircuitBreaking-()Lcom/groupbyinc/flux/common/util/BigArrays;??
??&'	?.com/groupbyinc/flux/search/dfs/DfsSearchResult?2(JLcom/groupbyinc/flux/search/SearchShardTarget;)V{?
??./	?2com/groupbyinc/flux/search/query/QuerySearchResult?
??01	?2com/groupbyinc/flux/search/fetch/FetchSearchResult?
??23	?()	?*+	?8com/groupbyinc/flux/search/internal/ContextIndexSearcher?&com/groupbyinc/flux/index/IndexService?cache.()Lcom/groupbyinc/flux/index/cache/IndexCache;??
??*com/groupbyinc/flux/index/cache/IndexCache?4()Lcom/groupbyinc/flux/index/cache/query/QueryCache;]?
??*com/groupbyinc/flux/index/shard/IndexShard?getQueryCachingPolicyF()Lcom/groupbyinc/flux/common/apache/lucene/search/QueryCachingPolicy;??
???(Lcom/groupbyinc/flux/index/engine/Engine$Searcher;Lcom/groupbyinc/flux/common/apache/lucene/search/QueryCache;Lcom/groupbyinc/flux/common/apache/lucene/search/QueryCachingPolicy;)V{?
??,-	? !	?67	?shardId+()Lcom/groupbyinc/flux/index/shard/ShardId;????'com/groupbyinc/flux/index/shard/ShardId?()I?
??getIndexReader>()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;??
??java/lang/Object?getClass()Ljava/lang/Class;??
??"java/lang/invoke/LambdaMetafactory?metafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;??
??nowInMillis??		getAsLong[(Lcom/groupbyinc/flux/search/internal/ShardSearchRequest;)Ljava/util/function/LongSupplier;	
newQueryShardContext?(ILcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;Ljava/util/function/LongSupplier;Ljava/lang/String;)Lcom/groupbyinc/flux/index/query/QueryShardContext;
?wx	types()[Ljava/lang/String;?1com/groupbyinc/flux/index/query/QueryShardContextsetTypes([Ljava/lang/String;)V

indexBoost()F?45	 this1Lcom/groupbyinc/flux/search/DefaultSearchContext;clusterAliasLjava/lang/String;doClose+com/groupbyinc/flux/common/lease/Releasable',com/groupbyinc/flux/common/lease/Releasables)close1([Lcom/groupbyinc/flux/common/lease/Releasable;)V+,
*-
preProcess(Z)Vjava/io/IOException1hasOnlySuggest()Z34
5J?
7K?
9
getIndexSettings+()Lcom/groupbyinc/flux/index/IndexSettings;=>
??'com/groupbyinc/flux/index/IndexSettingsAgetMaxResultWindowC?
BD=>	F=com/groupbyinc/flux/search/query/QueryPhaseExecutionExceptionHjava/lang/StringBuilderJ
K~HResult window is too large, from + size must be less than or equal to: [Mappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;OP
KQ(I)Ljava/lang/StringBuilder;OS
KT] but was [V(J)Ljava/lang/StringBuilder;OX
KYr]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [[MAX_RESULT_WINDOW_SETTING-Lcom/groupbyinc/flux/common/settings/Setting;]^	B_+com/groupbyinc/flux/common/settings/SettingagetKey()Ljava/lang/String;cd
be] index level setting.gtoStringid
KjH(Lcom/groupbyinc/flux/search/internal/SearchContext;Ljava/lang/String;)V{l
Im>Batch size is too large, size must be less than or equal to: [o[]. Scroll batch sizes cost as much memory as result windows so they are controlled by the [qk;	sLM	u7Cannot use [sort] option in conjunction with [rescore].wgetMaxRescoreWindowy?
Bzjava/util/List|iterator()Ljava/util/Iterator;~}?java/util/Iterator?hasNext?4??next()Ljava/lang/Object;????7com/groupbyinc/flux/search/rescore/RescoreSearchContext?window??
??Rescore window [?&] is too large. It must be less than [?y]. This prevents allocating massive heaps for storing the results to be rescored. This limit can be set by changing the [?MAX_RESCORE_WINDOW_SETTING?^	B?WX	?getMaxSlicesPerScroll??
B?-com/groupbyinc/flux/search/slice/SliceBuilder?getMax??
??The number of slices [?*]. This limit can be set by changing the [?MAX_SLICES_PER_SCROLL?^	B?getAliasFilter3()Lcom/groupbyinc/flux/search/internal/AliasFilter;????/com/groupbyinc/flux/search/internal/AliasFilter?getQueryBuilder0()Lcom/groupbyinc/flux/index/query/QueryBuilder;??
??,com/groupbyinc/flux/index/query/QueryBuilder?toFilterl(Lcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;????5com/groupbyinc/flux/common/apache/lucene/search/Query?`^	?java/io/UncheckedIOException?(Ljava/io/IOException;)V{?
??9()Lcom/groupbyinc/flux/common/apache/lucene/search/Query;]?
?+com/groupbyinc/flux/index/query/ParsedQuery?parsedMatchAllQuery/()Lcom/groupbyinc/flux/index/query/ParsedQuery;??
??parsedQueryb(Lcom/groupbyinc/flux/index/query/ParsedQuery;)Lcom/groupbyinc/flux/search/internal/SearchContext;??
?4
?Dcom/groupbyinc/flux/common/lucene/search/function/FunctionScoreQuery?Fcom/groupbyinc/flux/common/lucene/search/function/WeightFactorFunction?(F)V{?
??{(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Lcom/groupbyinc/flux/common/lucene/search/function/ScoreFunction;)V{?
????
?g(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Lcom/groupbyinc/flux/index/query/ParsedQuery;)V{?
??]^	?buildFilteredQueryp(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;??
?rewrite??
??Failed to rewrite main query?](Lcom/groupbyinc/flux/search/internal/SearchContext;Ljava/lang/String;Ljava/lang/Throwable;)V{?
I?rescoreContext9Lcom/groupbyinc/flux/search/rescore/RescoreSearchContext;	maxWindow
sliceLimit	numSlicesqueryBuilder.Lcom/groupbyinc/flux/index/query/QueryBuilder;eLjava/io/IOException;resultWindowmaxResultWindowjava/util/ArrayList?
?~getTypes?
?createTypeFilterL([Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;
add(Ljava/lang/Object;)Z}
mapperService2()Lcom/groupbyinc/flux/index/mapper/MapperService;	

.com/groupbyinc/flux/index/mapper/MapperService	hasNested4

-com/groupbyinc/flux/index/search/NestedHelper3(Lcom/groupbyinc/flux/index/mapper/MapperService;)V{
mightMatchNestedDocs:(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)Z
0com/groupbyinc/flux/common/lucene/search/QueriesnewNonNestedFilter?
0()Lcom/groupbyinc/flux/search/SearchShardTarget;
 ,com/groupbyinc/flux/search/SearchShardTarget"
getShardId$?
#%getId'?
?(
?getNumberOfShards+?
B,n(Lcom/groupbyinc/flux/index/query/QueryShardContext;II)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;?.
?/isEmpty14}2
~MUSTELcom/groupbyinc/flux/common/apache/lucene/search/BooleanClause$Occur;56	7?(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Lcom/groupbyinc/flux/common/apache/lucene/search/BooleanClause$Occur;)Lcom/groupbyinc/flux/common/apache/lucene/search/BooleanQuery$Builder;9
:FILTER<6	=build@()Lcom/groupbyinc/flux/common/apache/lucene/search/BooleanQuery;?@
AfilterbuilderFLcom/groupbyinc/flux/common/apache/lucene/search/BooleanQuery$Builder;filtersILjava/util/List;
typeFilter_typeIfullNameF(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/MappedFieldType;KL

Mjava/util/ArraysOasList%([Ljava/lang/Object;)Ljava/util/List;QR
PS0com/groupbyinc/flux/index/mapper/MappedFieldTypeU
termsQuery|(Ljava/util/List;Lcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;WX
VYft2Lcom/groupbyinc/flux/index/mapper/MappedFieldType;[Ljava/lang/String;source^d
_:()Lcom/groupbyinc/flux/search/internal/ShardSearchRequest;numberOfShardsb??cgetOriginNanoTime5()Lcom/groupbyinc/flux/search/internal/ScrollContext;h(Lcom/groupbyinc/flux/search/internal/ScrollContext;)Lcom/groupbyinc/flux/search/internal/SearchContext;E()Lcom/groupbyinc/flux/search/aggregations/SearchContextAggregations;ef	ix(Lcom/groupbyinc/flux/search/aggregations/SearchContextAggregations;)Lcom/groupbyinc/flux/search/internal/SearchContext;addSearchExt0(Lcom/groupbyinc/flux/search/SearchExtBuilder;)V+com/groupbyinc/flux/search/SearchExtBuilderngetWriteableNamepd
oq
java/util/Mapsput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;uvtwsearchExtBuilder-Lcom/groupbyinc/flux/search/SearchExtBuilder;getSearchExtA(Ljava/lang/String;)Lcom/groupbyinc/flux/search/SearchExtBuilder;get&(Ljava/lang/Object;)Ljava/lang/Object;}~tnameN()Lcom/groupbyinc/flux/search/fetch/subphase/highlight/SearchContextHighlight;gh	?O(Lcom/groupbyinc/flux/search/fetch/subphase/highlight/SearchContextHighlight;)V>()Lcom/groupbyinc/flux/search/suggest/SuggestionSearchContext;ij	??(Lcom/groupbyinc/flux/search/suggest/SuggestionSearchContext;)V()Ljava/util/List;java/util/Collections?	emptyList??
??
addRescore<(Lcom/groupbyinc/flux/search/rescore/RescoreSearchContext;)VhasScriptFieldsDE	?A()Lcom/groupbyinc/flux/search/fetch/subphase/ScriptFieldsContext;=com/groupbyinc/flux/search/fetch/subphase/ScriptFieldsContext?
?~sourceRequestedFG	?;w;>(Lcom/groupbyinc/flux/index/mapper/MappedFieldType;)TIFD;&()Ljava/util/List;RuntimeVisibleAnnotations'(Ljava/util/List;)Vb()Ljava/util/Map;Lcom/groupbyinc/flux/common/apache/lucene/search/Collector;>;BootstrapMethods
SourceFileInnerClasses06 !"#$%&'()*+,-./0123456789:;<=>?@A@BCDEFGHIJ9K9LMNOP@Q@RSTUV@WXYZ[\]^_\`^abc9d9efghijk;lBmnBopqrstusvwxyzf{|
*?*??*??*??*??*??*??*????*???*??Y????*??Y????*??*-??*??*-????*??*??*????*??Y????*??Y????*??Y?Ƶ?*??*??*??Y?Զ??߷??*	??*
??*-????*???-Y??W???*?-??*-??!?z"#$%*+()&' !	67
yz$% z?h	lqruv"?)?0?;?F?K?P?V?`?f?l?u?????????????????????&}D?(Y*??SY*??S?.?"# 
??/04	i*?6??*?8?	?*?8?A*?:?	;?*?:?7 a7*?̶@?E6????*?G?A?IY*?KY?LN?R?UW?R?Z\?R?`?f?Rh?R?k?n??IY*?KY?Lp?R?UW?R?Zr?R?`?f?Rh?R?k?n?*?t??*?v??IY*x?n?*?̶@?{6	*?t??:

???]
????:??	?D?IY*?KY?L??R???U??R	?U??R???f?Rh?R?k?n????*???]*?̶@??6	*????6

	?A?IY*?KY?L??R
?U??R	?U??R???f?Rh?R?k?n?*??????:	*	??	*??????:	??Y	?¿*???*?˶?W*????)*??Y??Y*?Ż?Y*?!?ط?*?ݷ??W***?????%**??*????:	?IY*?	????2FUX2?
K???o?9	uN?9	~E?9
???	?
??	Z??	i"#i?@OJ/:K54?A(?9 ?+????/?5?A?J?Q?|?????????????????L?_?b?i?u?~?????????????????????6?B?FUXZh!kD?D?a=???`??`???
???2.a2??????Y??M**????N-?,-?W*????-?;?Y*??+??)*????Y*??*????
,??W*???,*???W*???),*??*?*?!?&?)*??*?-?0?W,?3?+??Y?4:+?8?;W,??:???????:?>?;W????B?>?C^?<DE?"#?]^?F;?H^"?FG Z

 3L\fmx??? ?!?#?$?%?&?'?(!? }?;	,
???#(+?%+??*?J?NM,?,+?T*??Z?? [\("#(] -
./1&4!&?/*???"# 9^d2*???`?"# >a/*???"# C"?/*???"# H/*???"# Mb?4
*???d?
"# R4/*?!?"# We?/*???"# \=f/*?G?"# a=g?*+?G*?"#=> 
fgeh/*?j?"# lek?*+?j*?"#ef 
qrlmH*??+?r+?xW?"#yz 
yz{|B*??+???o?"#?% ~g?/*???"# ?g?>*+???"#gh 
??i?/*???"# ?i?>*+???"#ij 
??k?K*?t????*?t?"# ???!#??g*?t?*??Y???t*?t+?W?"#k? ????!?4B
*?????
"# ?!@D?R*???*??Y????*???"# ???!?4L*???*???????"# ?!@?4B
*?????
"# ?!@F?/*???"# ?F??*+??*?"#FG 
??H?/*???"# ?H??*+??*?"#HI 
??,?/*??"# ?(?/*?ʰ"# ?	2*?̶??"# ???2*?̶??"# ?&?/*???"# ???5*?̶Զ??"# ???=	*?+???	"#	?\ ?$6?/*??"# ?6?>*+??"#67 
?8?/*???"# 8?>*???"#89 
	
N?B
*#????*?
"#
N5 
N?/*?ð"# L??*+?v*?"#LM 
L?/*?v?"# P??*??*?"#P@ 
$%P4/*???"# *Q??*??*?"#Q@ 
/0Q4/*???"# 5R??*+??*?"#RS 
:;V4/*?̬"# @V0>*?̱"#V@ 
DER?/*?ʰ"# IT??*+??*?"#TU 
NOT?/*?а"# TW??*+??*?"#WX 
XY???*+??*?"#_\ 
^_??/*?հ"# d`?/*???"# i??K*+??*+?ص?*?"#]\ no
p??/*?װ"# u]?/*??"# }J?/*???"# ?J??*??*?"#J9 
??K?/*???"# ?K??*??*?"#K9 
???4L*???*?ܶ????"# ?!@?4B
*?????
"# ?!@??/*?ܰ"# ????*+??*?"#?C 
???4M*???
*?ܶ???"# ?!@?4/*??"# ??0>*??"#?@ 
??:?/*??"# ?%&?:?P*+??"#:;":< 
??'A4/*???"# ?A0>*???"#A@ 
??a?/*??"# ???/*???"# ???/*???"# ?a?e*+??*??*??*?*"#abc9d9 ??
????>*???"#? 
??o?/*???"# ?m?/*???"# ?m?>*???"#m 
??.?/*???"# ?0/*?ð"# y/*???"# 2/*?Ȱ"# L=	*?+?N?	"#	?% =	*?+??	"#	?%  /*??"# u	/*???"# (
/*??"# $
/*??"# )>*+??"#pq 
-.>*+??"#YZ 
23/*??"# 742*???"# <)*+"	
		@	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy