com.groupbyinc.flux.common.apache.lucene.index.PKIndexSplitter.class Maven / Gradle / Ivy
???? 4 ? >com/groupbyinc/flux/common/apache/lucene/index/PKIndexSplitter java/lang/Object PKIndexSplitter.java ^com/groupbyinc/flux/common/apache/lucene/index/PKIndexSplitter$DocumentFilteredLeafIndexReader DocumentFilteredLeafIndexReader Icom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig$OpenMode @com/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig OpenMode docsInFirstIndex 7Lcom/groupbyinc/flux/common/apache/lucene/search/Query; input :Lcom/groupbyinc/flux/common/apache/lucene/store/Directory; dir1 dir2 config1 BLcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig; config2 ?(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)V newDefaultConfig D()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig;
l(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig;)V
this @Lcom/groupbyinc/flux/common/apache/lucene/index/PKIndexSplitter; ?(Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;)V "
# CREATE KLcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig$OpenMode; % &
' setOpenMode ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig$OpenMode;)Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig; ) *
+ ()V -
. 0 2 4 6 8 : ?(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)V >com/groupbyinc/flux/common/apache/lucene/search/TermRangeQuery = 3com/groupbyinc/flux/common/apache/lucene/index/Term ? field ()Ljava/lang/String; A B
@ C bytes :()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; E F
@ G ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;ZZ)V I
> J
L midTerm 5Lcom/groupbyinc/flux/common/apache/lucene/index/Term;j(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/index/Term;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig;)V split java/io/IOException R >com/groupbyinc/flux/common/apache/lucene/index/DirectoryReader T open |(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;)Lcom/groupbyinc/flux/common/apache/lucene/index/DirectoryReader; V W
U X createIndex ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig;Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/index/DirectoryReader;Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Z)V Z [
\ java/io/Closeable ^ 5com/groupbyinc/flux/common/apache/lucene/util/IOUtils ` close ([Ljava/io/Closeable;)V b c
a d closeWhileHandlingException f c
a g java/lang/Throwable i success Z reader @Lcom/groupbyinc/flux/common/apache/lucene/index/DirectoryReader; :com/groupbyinc/flux/common/apache/lucene/index/IndexWriter o (Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig;)V q
p r =com/groupbyinc/flux/common/apache/lucene/search/IndexSearcher t ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;)V v
u w
setQueryCache ?(Lcom/groupbyinc/flux/common/apache/lucene/search/QueryCache;)V y z
u { createNormalizedWeight r(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Z)Lcom/groupbyinc/flux/common/apache/lucene/search/Weight; } ~
u leaves ()Ljava/util/List; ? ?
U ? java/util/List ? size ()I ? ? ? ? :com/groupbyinc/flux/common/apache/lucene/index/CodecReader ? iterator ()Ljava/util/Iterator; ? ? ? ? 8com/groupbyinc/flux/common/apache/lucene/store/Directory ? 5com/groupbyinc/flux/common/apache/lucene/search/Query ? 6com/groupbyinc/flux/common/apache/lucene/search/Weight ? =[Lcom/groupbyinc/flux/common/apache/lucene/index/CodecReader; ? java/util/Iterator ? hasNext ()Z ? ? ? ? next ()Ljava/lang/Object; ? ? ? ? @com/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext ? ~(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;Lcom/groupbyinc/flux/common/apache/lucene/search/Weight;Z)V ?
?
addIndexes @([Lcom/groupbyinc/flux/common/apache/lucene/index/CodecReader;)J ? ?
p ? b -
p ? ctx BLcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext; searcher ?Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher; needsScores preserveWeight 8Lcom/groupbyinc/flux/common/apache/lucene/search/Weight; TLjava/util/List; Ljava/util/List;
subReaders i I config target preserveFilter negateFilter w