
com.groupbyinc.flux.common.apache.lucene.index.CheckIndex.class Maven / Gradle / Ivy
???? 3? 9com/groupbyinc/flux/common/apache/lucene/index/CheckIndex java/lang/Object java/io/Closeable CheckIndex.java ;com/groupbyinc/flux/common/apache/lucene/index/CheckIndex$1 Acom/groupbyinc/flux/common/apache/lucene/index/CheckIndex$Options
Options @com/groupbyinc/flux/common/apache/lucene/index/CheckIndex$Status
Status Rcom/groupbyinc/flux/common/apache/lucene/index/CheckIndex$Status$SegmentInfoStatus SegmentInfoStatus Ncom/groupbyinc/flux/common/apache/lucene/index/CheckIndex$Status$LiveDocStatus
LiveDocStatus Pcom/groupbyinc/flux/common/apache/lucene/index/CheckIndex$Status$FieldInfoStatus FieldInfoStatus Pcom/groupbyinc/flux/common/apache/lucene/index/CheckIndex$Status$FieldNormStatus FieldNormStatus Ccom/groupbyinc/flux/common/apache/lucene/index/TermsEnum$SeekStatus 8com/groupbyinc/flux/common/apache/lucene/index/TermsEnum
SeekStatus Pcom/groupbyinc/flux/common/apache/lucene/index/CheckIndex$Status$TermIndexStatus ! TermIndexStatus java/util/Map$Entry $
java/util/Map & Entry Rcom/groupbyinc/flux/common/apache/lucene/index/CheckIndex$Status$StoredFieldStatus ) StoredFieldStatus Pcom/groupbyinc/flux/common/apache/lucene/index/CheckIndex$Status$DocValuesStatus , DocValuesStatus Qcom/groupbyinc/flux/common/apache/lucene/index/CheckIndex$Status$TermVectorStatus / TermVectorStatus ?com/groupbyinc/flux/common/apache/lucene/util/Bits$MatchAllBits 2 2com/groupbyinc/flux/common/apache/lucene/util/Bits 4 MatchAllBits
infoStream Ljava/io/PrintStream; dir :Lcom/groupbyinc/flux/common/apache/lucene/store/Directory; writeLock 5Lcom/groupbyinc/flux/common/apache/lucene/store/Lock; closed Z crossCheckTermVectors failFast verbose
checksumsOnly assertsOn $assertionsDisabled =(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;)V java/io/IOException G
write.lock I 8com/groupbyinc/flux/common/apache/lucene/store/Directory K
obtainLock I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/store/Lock; M N
L O r(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/store/Lock;)V E Q
R this ;Lcom/groupbyinc/flux/common/apache/lucene/index/CheckIndex; ()V E V
W 9 : Y ; < [ 7 8 ]
ensureOpen = > ` Ecom/groupbyinc/flux/common/apache/lucene/store/AlreadyClosedException b this instance is closed d (Ljava/lang/String;)V E f
c g close 5com/groupbyinc/flux/common/apache/lucene/util/IOUtils j ([Ljava/io/Closeable;)V i l
k m setCrossCheckTermVectors (Z)V ? > q v getCrossCheckTermVectors ()Z setFailFast @ > w getFailFast getChecksumsOnly B > { setChecksumsOnly
setInfoStream (Ljava/io/PrintStream;Z)V A > ? out (Ljava/io/PrintStream;)V ~
? msg *(Ljava/io/PrintStream;Ljava/lang/String;)V java/io/PrintStream ? println ? f
? ? Ljava/lang/String;
checkIndex D()Lcom/groupbyinc/flux/common/apache/lucene/index/CheckIndex$Status; T(Ljava/util/List;)Lcom/groupbyinc/flux/common/apache/lucene/index/CheckIndex$Status; ? ?
? java/lang/Throwable ? _ V
? java/lang/System ? nanoTime ()J ? ?
? ? java/util/Locale ? ROOT Ljava/util/Locale; ? ? ? ? java/text/NumberFormat ? getInstance ,(Ljava/util/Locale;)Ljava/text/NumberFormat; ? ?
? ?
W Y listAll ()[Ljava/lang/String; ? ?
L ? ;com/groupbyinc/flux/common/apache/lucene/index/SegmentInfos ? getLastCommitSegmentsFileName '([Ljava/lang/String;)Ljava/lang/String; ? ?
? ? Ecom/groupbyinc/flux/common/apache/lucene/index/IndexNotFoundException ? java/lang/StringBuilder ?
? W no segments* file found in ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? : files: ? java/util/Arrays ? toString '([Ljava/lang/Object;)Ljava/lang/String; ? ?
? ? ()Ljava/lang/String; ? ?
? ?
? g java/util/List ? [Ljava/lang/String; ? java/lang/String ?
readCommit ?(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos; ? ?
? ? reThrow (Ljava/lang/Throwable;)V ? ?
k ? 4ERROR: could not read any segments file in directory ? ? ?
? missingSegments ? > ? printStackTrace ? ?
? ? iterator ()Ljava/util/Iterator; ? ?
? ? 5com/groupbyinc/flux/common/apache/lucene/util/Version ? java/util/Iterator ? hasNext ? u ? ? next ()Ljava/lang/Object; ? ? ? ? @com/groupbyinc/flux/common/apache/lucene/index/SegmentCommitInfo ? info