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

com.groupbyinc.flux.cluster.metadata.MetaDataIndexUpgradeService.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?@com/groupbyinc/flux/cluster/metadata/MetaDataIndexUpgradeService6com/groupbyinc/flux/common/component/AbstractComponent MetaDataIndexUpgradeService.javaBcom/groupbyinc/flux/cluster/metadata/MetaDataIndexUpgradeService$3Bcom/groupbyinc/flux/cluster/metadata/MetaDataIndexUpgradeService$2Bcom/groupbyinc/flux/cluster/metadata/MetaDataIndexUpgradeService$1
java/util/Map$Entry
java/util/MapEntry8com/groupbyinc/flux/cluster/metadata/IndexMetaData$State2com/groupbyinc/flux/cluster/metadata/IndexMetaDataState:com/groupbyinc/flux/index/mapper/MapperService$MergeReason.com/groupbyinc/flux/index/mapper/MapperServiceMergeReason4com/groupbyinc/flux/common/settings/Settings$Builder,com/groupbyinc/flux/common/settings/SettingsBuilder:com/groupbyinc/flux/cluster/metadata/IndexMetaData$Builder %java/lang/invoke/MethodHandles$Lookup"java/lang/invoke/MethodHandles$LookupxContentRegistry;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;mapperRegistry3Lcom/groupbyinc/flux/indices/mapper/MapperRegistry;indexScopedSettings9Lcom/groupbyinc/flux/common/settings/IndexScopedSettings;	upgraders"Ljava/util/function/UnaryOperator;XLjava/util/function/UnaryOperator;?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Lcom/groupbyinc/flux/indices/mapper/MapperRegistry;Lcom/groupbyinc/flux/common/settings/IndexScopedSettings;Ljava/util/Collection;)V1(Lcom/groupbyinc/flux/common/settings/Settings;)V02
3'(	5)*	7+,	9"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;=>
<?@&(Ljava/lang/Object;)Ljava/lang/Object;Blambda$new$0?(Ljava/util/Collection;Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;DE
FGj(Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;Iapply:(Ljava/util/Collection;)Ljava/util/function/UnaryOperator;KLM-.	OthisBLcom/groupbyinc/flux/cluster/metadata/MetaDataIndexUpgradeService;settings.Lcom/groupbyinc/flux/common/settings/Settings;indexMetaDataUpgraderspLjava/util/Collection;>;Ljava/util/Collection;upgradeIndexMetaData?(Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;Lcom/groupbyinc/flux/Version;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;
isUpgraded7(Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;)ZZ[
\checkSupportedVersionT(Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;Lcom/groupbyinc/flux/Version;)V^_
`archiveBrokenIndexSettingsbI
ccheckMappingsCompatibility7(Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;)Vef
g java/util/function/UnaryOperatoriKBjkmarkAsUpgradedmI
n
indexMetaData4Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData; minimumIndexCompatibilityVersionLcom/groupbyinc/flux/Version;newMetaDatagetUpgradedVersion()Lcom/groupbyinc/flux/Version;uv
wcom/groupbyinc/flux/VersionyCURRENT{s	z|	onOrAfter (Lcom/groupbyinc/flux/Version;)Z~
z?getState<()Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData$State;??
?OPEN:Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData$State;??	?isSupportedVersionT(Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;Lcom/groupbyinc/flux/Version;)Z??
?java/lang/IllegalStateException?java/lang/StringBuilder?()V0?
??The index [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??getIndex#()Lcom/groupbyinc/flux/index/Index;??
?-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
??] was created with version [?getCreationVersion?v
?)] but the minimum compatible version is [?,]. It should be re-indexed in Elasticsearch ?majorB??	z?(I)Ljava/lang/StringBuilder;??
??.x before upgrading to ?.?toString()Ljava/lang/String;??
??(Ljava/lang/String;)V0?
??java/lang/Throwable?java/lang/Exception?'com/groupbyinc/flux/index/IndexSettings?ST	?e(Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;Lcom/groupbyinc/flux/common/settings/Settings;)V0?
??E(Lcom/groupbyinc/flux/cluster/metadata/MetaDataIndexUpgradeService;)V0?
?6com/groupbyinc/flux/index/similarity/SimilarityService?e(Lcom/groupbyinc/flux/index/IndexSettings;Lcom/groupbyinc/flux/script/ScriptService;Ljava/util/Map;)V0?
??0com/groupbyinc/flux/index/analysis/NamedAnalyzer?fake_default?0com/groupbyinc/flux/index/analysis/AnalyzerScope?INDEX2Lcom/groupbyinc/flux/index/analysis/AnalyzerScope;??	??
	??(Ljava/lang/String;Lcom/groupbyinc/flux/index/analysis/AnalyzerScope;Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;)V0?
??w(Lcom/groupbyinc/flux/cluster/metadata/MetaDataIndexUpgradeService;Lcom/groupbyinc/flux/index/analysis/NamedAnalyzer;)V0?
?1com/groupbyinc/flux/index/analysis/IndexAnalyzers??(Lcom/groupbyinc/flux/index/IndexSettings;Lcom/groupbyinc/flux/index/analysis/NamedAnalyzer;Lcom/groupbyinc/flux/index/analysis/NamedAnalyzer;Lcom/groupbyinc/flux/index/analysis/NamedAnalyzer;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;)V0?
??()Ljava/lang/Object;?#lambda$checkMappingsCompatibility$15()Lcom/groupbyinc/flux/index/query/QueryShardContext;??
???get()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0?
?MAPPING_RECOVERY;>;Ljava/util/Map;similarityService8Lcom/groupbyinc/flux/index/similarity/SimilarityService;fakeDefault2Lcom/groupbyinc/flux/index/analysis/NamedAnalyzer;analyzerMapULjava/util/Map;exLjava/lang/Exception;builder8()Lcom/groupbyinc/flux/common/settings/Settings$Builder;
getSettings0()Lcom/groupbyinc/flux/common/settings/Settings; !
"putf(Lcom/groupbyinc/flux/common/settings/Settings;)Lcom/groupbyinc/flux/common/settings/Settings$Builder;$%
&index.version.upgraded(g(Ljava/lang/String;Lcom/groupbyinc/flux/Version;)Lcom/groupbyinc/flux/common/settings/Settings$Builder;$*
+build-!
.r(Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData$Builder;0
1l(Lcom/groupbyinc/flux/common/settings/Settings;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData$Builder;S3
!46()Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;-6
!7(Ljava/lang/Object;)V9#lambda$archiveBrokenIndexSettings$2L(Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;Ljava/util/Map$Entry;)V;<
=>(Ljava/util/Map$Entry;)V@accept?(Lcom/groupbyinc/flux/cluster/metadata/MetaDataIndexUpgradeService;Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;)Ljava/util/function/Consumer;BCD'(Ljava/lang/Object;Ljava/lang/Object;)VF#lambda$archiveBrokenIndexSettings$4p(Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;Ljava/util/Map$Entry;Ljava/lang/IllegalArgumentException;)VHI
JK<(Ljava/util/Map$Entry;Ljava/lang/IllegalArgumentException;)VM?(Lcom/groupbyinc/flux/cluster/metadata/MetaDataIndexUpgradeService;Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;)Ljava/util/function/BiConsumer;BOP7com/groupbyinc/flux/common/settings/IndexScopedSettingsRarchiveUnknownOrInvalidSettings?(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/util/function/Consumer;Ljava/util/function/BiConsumer;)Lcom/groupbyinc/flux/common/settings/Settings;TU
SVupgradelogger!Lorg/apache/logging/log4j/Logger;YZ	[,()Lorg/apache/logging/log4j/message/Message;]#lambda$archiveBrokenIndexSettings$3u(Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;Ljava/util/Map$Entry;)Lorg/apache/logging/log4j/message/Message;_`
abz(Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;Ljava/util/Map$Entry;)Lorg/apache/logging/log4j/util/MessageSupplier;?deorg/apache/logging/log4j/LoggergwarnG(Lorg/apache/logging/log4j/util/MessageSupplier;Ljava/lang/Throwable;)VijhkeLjava/util/Map$Entry;$Ljava/lang/IllegalArgumentException;5org/apache/logging/log4j/message/ParameterizedMessagepB{} ignoring invalid index setting: [{}] with value [{}]; archivingrjava/lang/ObjecttgetKeyv?
wgetValuey?
z((Ljava/lang/String;[Ljava/lang/Object;)V0|
q}B{} ignoring unknown index setting: [{}] with value [{}]; archivingK(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Vi?h?java/util/Collection?iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext()Z????next????upgradernewIndexMetaData	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTableH(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Lcom/groupbyinc/flux/indices/mapper/MapperRegistry;Lcom/groupbyinc/flux/common/settings/IndexScopedSettings;Ljava/util/Collection;>;)V
StackMapTableBootstrapMethods
SourceFileInnerClasses!'()*+,-.?/
01??!*+?4*,?6*-?8*?:*?N?P??>!QR!ST!'(!)*!+,!UW?!UV?@A
BCD K??XY??1*+?]?+?*+,?a+N*-?dN*-?h*?P-?l?N*-?o??*1QR1pq1rstq?"VW
YZ]_a+b?
Z[??+?x?}????QRpq?j^_??b+?????Z+,???R??Y??Y?????+???????+???????,?????,????????}???????????? bQRbpqbrs?su/va{??a
???=	*??+????	pq	rs??ef?u	???Y+*?ķ?M?Y*??N??Y,-??:??YӲٻ	Y*?ڷ?:?Y*??:??Y,??::?Y,*?6*?8????:		+????????C:		??7???/:		:	?:
????:????
??*M??Y??Y????+????????,?
??????]???]?????????????f
x
	Zu

??"?8?D??&?QR?pq??D??>?
??"?8?D?]?x????????????????m
??	??????G?H??????????B?&mI?e#?+?#?')?}?,?/M+?2,?5?8?? #QR#pqST?
??bI??/+?#M*?:,*+?E*+?Q?WN-,?+?2-?5?8?+??*/QR/pq*STXT????!?-???-HI?Z*?\+,?f-?l??*QRpqmno??
_`?\(?qYs?uY*??SY+?xSY+?{S?~??(pq(mn??;<?[*?\?+??,?x,?{???? QRpqmn??
??????
DE??.+M*??N-???-???j:,?l?M???,??*?..UW.pq,?q??/?EFG)H,I??	??"?4ACHJA???A:?AAGLNA^c^??J		
	@@	!	#%&




© 2015 - 2024 Weber Informatics LLC | Privacy Policy