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

com.groupbyinc.flux.index.IndexModule.class Maven / Gradle / Ivy

????4%com/groupbyinc/flux/index/IndexModulejava/lang/ObjectIndexModule.javaAcom/groupbyinc/flux/index/IndexModule$IndexSearcherWrapperFactoryIndexSearcherWrapperFactory*com/groupbyinc/flux/index/IndexModule$Type	Type8com/groupbyinc/flux/index/IndexService$ShardStoreDeleter&com/groupbyinc/flux/index/IndexServiceShardStoreDeleter4com/groupbyinc/flux/common/settings/Setting$Property+com/groupbyinc/flux/common/settings/SettingProperty%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookupINDEX_STORE_TYPE_SETTING-Lcom/groupbyinc/flux/common/settings/Setting;ALcom/groupbyinc/flux/common/settings/Setting;INDEX_STORE_PRE_LOAD_SETTINGSLcom/groupbyinc/flux/common/settings/Setting;>;SIMILARITY_SETTINGS_PREFIXLjava/lang/String;index.similarity"!INDEX_QUERY_CACHE_ENABLED_SETTINGBLcom/groupbyinc/flux/common/settings/Setting;$INDEX_QUERY_CACHE_EVERYTHING_SETTING&INDEX_QUERY_CACHE_TERM_QUERIES_SETTING
indexSettings)Lcom/groupbyinc/flux/index/IndexSettings;analysisRegistry5Lcom/groupbyinc/flux/index/analysis/AnalysisRegistry;
engineFactory7Lcom/groupbyinc/flux/common/apache/lucene/util/SetOnce;iLcom/groupbyinc/flux/common/apache/lucene/util/SetOnce;indexSearcherWrapper|Lcom/groupbyinc/flux/common/apache/lucene/util/SetOnce;indexEventListenersLjava/util/Set;ELjava/util/Set;similaritiesLjava/util/Map;?Ljava/util/Map;>;
storeTypes?Ljava/util/Map;>;forceQueryCacheProvider?Lcom/groupbyinc/flux/common/apache/lucene/util/SetOnce;>;searchOperationListenersLjava/util/List;KLjava/util/List;indexOperationListenersMLjava/util/List;frozen+Ljava/util/concurrent/atomic/AtomicBoolean;a(Lcom/groupbyinc/flux/index/IndexSettings;Lcom/groupbyinc/flux/index/analysis/AnalysisRegistry;)V()VBD
E5com/groupbyinc/flux/common/apache/lucene/util/SetOnceG
HE,-	J/-	Ljava/util/HashSetN
OE12	Qjava/util/HashMapS
TE45	V75	X9-	Zjava/util/ArrayList\
]E;<	_><	a)java/util/concurrent/atomic/AtomicBooleanc(Z)VBe
df@A	h()	j*+	l'com/groupbyinc/flux/index/SearchSlowLogn,(Lcom/groupbyinc/flux/index/IndexSettings;)VBp
oqjava/util/Listsadd(Ljava/lang/Object;)Zuvtw)com/groupbyinc/flux/index/IndexingSlowLogy
zqthis'Lcom/groupbyinc/flux/index/IndexModule;addSettingsUpdateConsumerM(Lcom/groupbyinc/flux/common/settings/Setting;Ljava/util/function/Consumer;)VensureNotFrozen?D
?"java/lang/IllegalArgumentException?setting must not be null?(Ljava/lang/String;)VB?
??'com/groupbyinc/flux/index/IndexSettings?getScopedSettings;()Lcom/groupbyinc/flux/common/settings/IndexScopedSettings;??
??7com/groupbyinc/flux/common/settings/IndexScopedSettings?~
??setting2Lcom/groupbyinc/flux/common/settings/Setting;consumer"Ljava/util/function/Consumer;Ljava/util/function/Consumer;j(Lcom/groupbyinc/flux/common/settings/Setting;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V~?
??	validatorgetSettings0()Lcom/groupbyinc/flux/common/settings/Settings;??
??getIndex#()Lcom/groupbyinc/flux/index/Index;??
??addIndexEventListener7(Lcom/groupbyinc/flux/index/shard/IndexEventListener;)Vlistener must not be null?
java/util/Set?contains?v??listener already added??wlistener4Lcom/groupbyinc/flux/index/shard/IndexEventListener;addSearchOperationListener<(Lcom/groupbyinc/flux/index/shard/SearchOperationListener;)Vt?9Lcom/groupbyinc/flux/index/shard/SearchOperationListener;addIndexOperationListener>(Lcom/groupbyinc/flux/index/shard/IndexingOperationListener;)V;Lcom/groupbyinc/flux/index/shard/IndexingOperationListener;
addIndexStore2(Ljava/lang/String;Ljava/util/function/Function;)V
java/util/Map?containsKey?v??java/lang/StringBuilder?
?Ekey [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??] already registered?toString()Ljava/lang/String;??
??put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;????typeprovidertLjava/util/function/Function;Ljava/util/function/Function;
addSimilarity=(Ljava/lang/String;Lcom/groupbyinc/flux/common/TriFunction;)V6com/groupbyinc/flux/index/similarity/SimilarityService?BUILT_IN?5	??similarity for name: [? is already registered?name
similarity?Lcom/groupbyinc/flux/common/TriFunction;(Lcom/groupbyinc/flux/common/TriFunction;setSearcherWrapperF(Lcom/groupbyinc/flux/index/IndexModule$IndexSearcherWrapperFactory;)Vset(Ljava/lang/Object;)V??
H?indexSearcherWrapperFactoryCLcom/groupbyinc/flux/index/IndexModule$IndexSearcherWrapperFactory;freeze6()Lcom/groupbyinc/flux/index/shard/IndexEventListener;
compareAndSet(ZZ)Z??
d?5com/groupbyinc/flux/index/CompositeIndexEventListener?B(Lcom/groupbyinc/flux/index/IndexSettings;Ljava/util/Collection;)VB?
??java/lang/IllegalStateException?already frozen?
??
isBuiltinType(Ljava/lang/String;)Zvalues/()[Lcom/groupbyinc/flux/index/IndexModule$Type;

-[Lcom/groupbyinc/flux/index/IndexModule$Type;match

,Lcom/groupbyinc/flux/index/IndexModule$Type;	storeTypenewIndexService?(Lcom/groupbyinc/flux/env/NodeEnvironment;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Lcom/groupbyinc/flux/index/IndexService$ShardStoreDeleter;Lcom/groupbyinc/flux/indices/breaker/CircuitBreakerService;Lcom/groupbyinc/flux/common/util/BigArrays;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/script/ScriptService;Lcom/groupbyinc/flux/client/Client;Lcom/groupbyinc/flux/indices/IndicesQueryCache;Lcom/groupbyinc/flux/indices/mapper/MapperRegistry;Lcom/groupbyinc/flux/indices/fielddata/cache/IndicesFieldDataCache;Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;)Lcom/groupbyinc/flux/index/IndexService;java/io/IOException??
get()Ljava/lang/Object;
H"java/lang/invoke/LambdaMetafactorymetafactory?(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;
`(Lcom/groupbyinc/flux/index/IndexService;)Lcom/groupbyinc/flux/index/shard/IndexSearcherWrapper;lambda$newIndexService$0
 !
newWrapperE()Lcom/groupbyinc/flux/index/IndexModule$IndexSearcherWrapperFactory;#$%2com/groupbyinc/flux/index/shard/IndexEventListener'beforeIndexCreatedR(Lcom/groupbyinc/flux/index/Index;Lcom/groupbyinc/flux/common/settings/Settings;)V)*(+	-getValueA(Lcom/groupbyinc/flux/common/settings/Setting;)Ljava/lang/Object;/0
?1java/lang/String3"com/groupbyinc/flux/common/Strings5isEmpty(Ljava/lang/CharSequence;)Z78
69?
;*com/groupbyinc/flux/index/store/IndexStore=
>q&(Ljava/lang/Object;)Ljava/lang/Object;@?Ajava/util/function/FunctionCUnknown store type [E]GapplyI@DJstore must not be nullL'com/groupbyinc/flux/env/NodeEnvironmentN9com/groupbyinc/flux/common/xcontent/NamedXContentRegistryP9com/groupbyinc/flux/indices/breaker/CircuitBreakerServiceR)com/groupbyinc/flux/common/util/BigArraysT)com/groupbyinc/flux/threadpool/ThreadPoolV(com/groupbyinc/flux/script/ScriptServiceX!com/groupbyinc/flux/client/ClientZ-com/groupbyinc/flux/indices/IndicesQueryCache\1com/groupbyinc/flux/indices/mapper/MapperRegistry^Acom/groupbyinc/flux/indices/fielddata/cache/IndicesFieldDataCache`;com/groupbyinc/flux/common/io/stream/NamedWriteableRegistryb$	djava/lang/BooleanfbooleanValue()Zhi
gjjava/util/function/BiFunctionl5com/groupbyinc/flux/index/cache/query/IndexQueryCachen[(Lcom/groupbyinc/flux/index/IndexSettings;Lcom/groupbyinc/flux/indices/IndicesQueryCache;)VBp
oqI?ms0com/groupbyinc/flux/index/cache/query/QueryCacheu8com/groupbyinc/flux/index/cache/query/DisabledQueryCachew
xq;(Lcom/groupbyinc/flux/index/IndexSettings;Ljava/util/Map;)VBz
?{.com/groupbyinc/flux/index/engine/EngineFactory}?(Lcom/groupbyinc/flux/index/IndexSettings;Lcom/groupbyinc/flux/env/NodeEnvironment;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Lcom/groupbyinc/flux/index/similarity/SimilarityService;Lcom/groupbyinc/flux/index/IndexService$ShardStoreDeleter;Lcom/groupbyinc/flux/index/analysis/AnalysisRegistry;Lcom/groupbyinc/flux/index/engine/EngineFactory;Lcom/groupbyinc/flux/indices/breaker/CircuitBreakerService;Lcom/groupbyinc/flux/common/util/BigArrays;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/script/ScriptService;Lcom/groupbyinc/flux/client/Client;Lcom/groupbyinc/flux/index/cache/query/QueryCache;Lcom/groupbyinc/flux/index/store/IndexStore;Lcom/groupbyinc/flux/index/shard/IndexEventListener;Lcom/groupbyinc/flux/index/IndexModule$IndexSearcherWrapperFactory;Lcom/groupbyinc/flux/indices/mapper/MapperRegistry;Lcom/groupbyinc/flux/indices/fielddata/cache/IndicesFieldDataCache;Ljava/util/List;Ljava/util/List;Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;)VB
?store,Lcom/groupbyinc/flux/index/store/IndexStore;factory
queryCache2Lcom/groupbyinc/flux/index/cache/query/QueryCache;queryCacheProvider?Ljava/util/function/BiFunction;Ljava/util/function/BiFunction;environment)Lcom/groupbyinc/flux/env/NodeEnvironment;xContentRegistry;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;shardStoreDeleter:Lcom/groupbyinc/flux/index/IndexService$ShardStoreDeleter;circuitBreakerService;Lcom/groupbyinc/flux/indices/breaker/CircuitBreakerService;	bigArrays+Lcom/groupbyinc/flux/common/util/BigArrays;
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;
scriptService*Lcom/groupbyinc/flux/script/ScriptService;client#Lcom/groupbyinc/flux/client/Client;indicesQueryCache/Lcom/groupbyinc/flux/indices/IndicesQueryCache;mapperRegistry3Lcom/groupbyinc/flux/indices/mapper/MapperRegistry;indicesFieldDataCacheCLcom/groupbyinc/flux/indices/fielddata/cache/IndicesFieldDataCache;namedWriteableRegistry=Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;
eventListenersearcherWrapperFactorynewIndexMapperService?(Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Lcom/groupbyinc/flux/indices/mapper/MapperRegistry;)Lcom/groupbyinc/flux/index/mapper/MapperService;.com/groupbyinc/flux/index/mapper/MapperService?3com/groupbyinc/flux/index/analysis/AnalysisRegistry?build^(Lcom/groupbyinc/flux/index/IndexSettings;)Lcom/groupbyinc/flux/index/analysis/IndexAnalyzers;??
??lambda$newIndexMapperService$15()Lcom/groupbyinc/flux/index/query/QueryShardContext;??
???()Ljava/util/function/Supplier;??"(Lcom/groupbyinc/flux/index/IndexSettings;Lcom/groupbyinc/flux/index/analysis/IndexAnalyzers;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Lcom/groupbyinc/flux/index/similarity/SimilarityService;Lcom/groupbyinc/flux/indices/mapper/MapperRegistry;Ljava/util/function/Supplier;)VB?
??"(Ljava/util/function/BiFunction;)Vi
d?@Can't modify IndexModule once the index service has been created?'java/lang/UnsupportedOperationException?&no index query shard context available?
??shard(Lcom/groupbyinc/flux/index/IndexService;index.store.type??identity()Ljava/util/function/Function;??D?
IndexScope6Lcom/groupbyinc/flux/common/settings/Setting$Property;??	?	NodeScope??	?{(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)VB?
?index.store.preload?java/util/Collections?	emptyList()Ljava/util/List;??
??listSetting?(Ljava/lang/String;Ljava/util/List;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;??
?	?index.queries.cache.enabled?boolSettingy(Ljava/lang/String;Z[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;??
?index.queries.cache.everything?&	? index.queries.cache.term_queries?'	?	Signature
ConstantValueCodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTablem(Lcom/groupbyinc/flux/common/settings/Setting;Ljava/util/function/Consumer;)V?(Lcom/groupbyinc/flux/common/settings/Setting;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V?(Ljava/lang/String;Ljava/util/function/Function;)V?(Ljava/lang/String;Lcom/groupbyinc/flux/common/TriFunction;)V
Exceptions?(Ljava/util/function/BiFunction;)VBootstrapMethods
SourceFileInnerClasses1?? !?#$?%&?%'?%()*+,-?./-?012?345?675?89-?:;<?=><??@ABC?
?*?F*?HY?I?K*?HY?I?M*?OY?P?R*?TY?U?W*?TY?U?Y*?HY?I?[*?]Y?^?`*?]Y?^?b*?dY?g?i*+?k*,?m*?`?oY+?r?xW*?b?zY+?{?xW?? ?|}?()?*+?>{qrs%t0u;vFwQx\yh|m}r~???~??*??+?
??Y????*?k??+,???? |}?????????????????~??? *??+?
??Y????*?k??+,-????* |} ? ?? ???  ?? ?? ??????????????2*?k????|}?????2*?k????|}??????5*??+?
??Y????*?R+???
??Y????*?R+??W??5|}5????????)?4??????5*??+?
??Y????*?`+???
??Y????*?`+?xW??5|}5????????)?4??????5*??+?
??Y????*?b+???
??Y????*?b+?xW??5|}5????????)?4??????>*??*?Y+???#??Y??Y??Ŷ?+??˶ɶϷ??*?Y+,??W?? >|}>?!>???>??????1?=??1??????J*??*?W+?????+???#??Y??Y????+???ɶϷ??*?W+,??W?? J|}J?!J???J???=	I
?????I
*??*?M+???
|}
??????a&*?i?????Y*?k*?R?????Y?????&|}??
??~&?L+?=>?+2:*?	?????????
&!? !$$??	?
??d*?:
*?M???&?
*?M??:
*?k??*?k???,*?k?.?2?4:?:??Y*?k??:?[*?Y?B?D:?&??Y??Y??F????H?ɶϷ??*?k?K?>:???YM???*?k?e?2?g?k?;*?[??m:??oY*?k	?r:?*?k	?t?v:??xY*?k?y:?Y*?k+,??Y*?k*?W?|-*?m*?K??~

*?`*?b?????e??xH??????)????d|}d??d??d??d??d??d??d??d??d??	d??
d??d??^??
$@??H!????L???xH???)???^PQR$S9THVXWhYxZ}[?]?^?_?c?d?e?f?hjkm:ncm??
?(I?54?7D?OQ
SUWY[]_ac(4>?5m?OQ
SUWY[]_ac(4>v??v???k	-??Y*?k*?m*?k??+??Y*?k*?W?|,?????? -|}-??-???x9??[
*??*?[+???
|}
???
????????D?Q*?i?????Y??????|}??
???
???#??Y÷Ŀ?z
?,?????R?D??	?Y?˸??Y??SY??S?ٳ.۸???Y??SY??S?????Y??S???e??Y??S??????Y??S??????.U
V#[&\BbPcVfdgjkxl~k"???*	
@
	@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy