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

com.groupbyinc.flux.common.apache.lucene.index.IndexUpgrader.class Maven / Gradle / Ivy

????4C(
')  java +append-(Ljava/lang/String;)Ljava/lang/StringBuilder;-.
'/java/lang/Class1getName()Ljava/lang/String;34
25: [-delete-prior-commits] [-verbose] [-dir-impl X] indexDir7toString94
'::This tool keeps only the last commit in an index; for this<@reason, if the incoming index has more than one commit, the tool>Drefuses to run by default. Specify -delete-prior-commits to override@:this, allowing the tool to delete all but the last commit.B
Specify a D:com/groupbyinc/flux/common/apache/lucene/store/FSDirectoryF
getSimpleNameH4
2I^ implementation through the -dir-impl option to force its use. If no package is specified the K
getPackage()Ljava/lang/Package;MN
2Ojava/lang/PackageQ
R5 package will be used.T,WARNING: This tool may reorder document IDs!Vexit(I)VXY
Zmain([Ljava/lang/String;)Vjava/io/IOException^	parseArgsS([Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/index/IndexUpgrader;`a
bupgraded
eargs[Ljava/lang/String;hjava/lang/Stringj8com/groupbyinc/flux/common/apache/lucene/util/InfoStreaml-delete-prior-commitsnequals(Ljava/lang/Object;)Zpq
kr-verbosetCcom/groupbyinc/flux/common/apache/lucene/util/PrintStreamInfoStreamvoutx	y(Ljava/io/PrintStream;)V({
w|	-dir-impl~)ERROR: missing value for -dir-impl option?
?java/nio/file/Paths?get;(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;??
??openR(Ljava/nio/file/Path;)Lcom/groupbyinc/flux/common/apache/lucene/store/FSDirectory;??
G?java/nio/file/Path?8com/groupbyinc/flux/common/apache/lucene/store/Directory?=com/groupbyinc/flux/common/apache/lucene/util/CommandLineUtil?newFSDirectoryd(Ljava/lang/String;Ljava/nio/file/Path;)Lcom/groupbyinc/flux/common/apache/lucene/store/FSDirectory;??
??x(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/util/InfoStream;Z)V(?
?argpath:Lcom/groupbyinc/flux/common/apache/lucene/util/InfoStream;dirImpliIpLjava/nio/file/Path;=(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;)V@com/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig??(Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;)V(?
???(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig;Z)V(?
?this>Lcom/groupbyinc/flux/common/apache/lucene/index/IndexUpgrader;
	?
setInfoStream~(Lcom/groupbyinc/flux/common/apache/lucene/util/InfoStream;)Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig;??
??
infoStream
)
	?	?java/lang/Throwable?>com/groupbyinc/flux/common/apache/lucene/index/DirectoryReader?indexExists=(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;)Z??
??Ecom/groupbyinc/flux/common/apache/lucene/index/IndexNotFoundException?
?:(!
??listCommitsL(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;)Ljava/util/List;??
??java/util/Collection?size()I????"java/lang/IllegalArgumentException?_This tool was invoked to not delete prior commit points, but the following commits were found: ?-(Ljava/lang/Object;)Ljava/lang/StringBuilder;-?
'?
??Fcom/groupbyinc/flux/common/apache/lucene/index/UpgradeIndexMergePolicy?getMergePolicy>()Lcom/groupbyinc/flux/common/apache/lucene/index/MergePolicy;??
???(Lcom/groupbyinc/flux/common/apache/lucene/index/MergePolicy;)V(?
??setMergePolicy?(Lcom/groupbyinc/flux/common/apache/lucene/index/MergePolicy;)Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig;??
??Ocom/groupbyinc/flux/common/apache/lucene/index/KeepOnlyLastCommitDeletionPolicy?
?)setIndexDeletionPolicy?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexDeletionPolicy;)Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig;??
??:com/groupbyinc/flux/common/apache/lucene/index/IndexWriter?(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig;)V(?
??
getInfoStream<()Lcom/groupbyinc/flux/common/apache/lucene/util/InfoStream;??
??	isEnabled(Ljava/lang/String;)Z??
m?Upgrading all pre-?5com/groupbyinc/flux/common/apache/lucene/util/Version?LATEST7Lcom/groupbyinc/flux/common/apache/lucene/util/Version;??	? segments of index directory '
' to version ...message'(Ljava/lang/String;Ljava/lang/String;)V	
m

forceMergeY
?
!All segments upgraded to version 1Enforcing commit to rewrite all index metadata...getLiveCommitData()Ljava/lang/Iterable;
?setLiveCommitData(Ljava/lang/Iterable;)V
?	hasUncommittedChanges()Z
?java/lang/AssertionError!
")commit()J$%
?&%Committed upgraded metadata to index.(close*
?+
addSuppressed(Ljava/lang/Throwable;)V-.
?/commitsTLjava/util/Collection;Ljava/util/Collection;wdesiredAssertionStatus7
28
ConstantValueCodeLineNumberTableRuntimeInvisibleAnnotationsLocalVariableTable
Exceptions
StackMapTableLocalVariableTypeTable
SourceFile1:	


;????#?%?#??'Y?*,?0?6?08?0?;?#?=?#???#?A?#?C?#??'Y?*E?0G?J?0L?0G?P?S?0U?0?;?#?W?#?[?<6
<=>2?:@BAJBRCpE?C?F?G?H=s	\];6*?c?f?>gh<
NO?_`a;??L=N:6*??n*2:o?s?=?Su?s??wY?z?}N?;?s?$*?d??z??#?[?*2:?+?	L???????+???+?k??::?
??:???:?Y-???>\	b??gh????x?	??????'???$
<zSTUV	WXYZ#[(\2]@^J_S`[a_cbdkeofuhxj{k~l?m?p?q?r?s?u?w@0?ikmk?k	?????_=s(?;G*+??Y?????>??
<
??(?;?*+??Y????,?*??,??W?>*??
??<????@??m(?;l*??*+??*,??*???>*??

<??	???d;?~*???????Y*???ķƿ*???0*????L+?????Y?'Y?*Զ0+?׶;?ؿ*????Y*???޷??W*????Y???W??Y*??*????LM*????N-	???=-	?'Y?*??0????0*?????0????0?;?+?-	???(-	?'Y?*?0??׶;?-	?++????+? ??"Y?#?+?'X-	???-	)?+?F,?+?,?;N,-?0?2+?,?+N-M-?:+?,?+?,?:,?0?+?,??>BE??6U??6Zdhk?U\Z>*(%13??????45~??A(%12<f?
?? ?(?2?M?c?r????????????????
??$?-?6?U?Z?}?@E3????m2?N?F?D??????
??_6;4?9????<6@@B




© 2015 - 2025 Weber Informatics LLC | Privacy Policy