
com.groupbyinc.flux.common.apache.lucene.index.PKIndexSplitter.class Maven / Gradle / Ivy
???? 3 ? >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/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/Filter;)V
# 8Lcom/groupbyinc/flux/common/apache/lucene/search/Filter; ?(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 1
2 4 6 8 : < >m(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/Filter;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig;)V ?(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 B 3com/groupbyinc/flux/common/apache/lucene/index/Term D field ()Ljava/lang/String; F G
E H bytes :()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; J K
E L ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;ZZ)V N
C O 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 U >com/groupbyinc/flux/common/apache/lucene/index/DirectoryReader W open |(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;)Lcom/groupbyinc/flux/common/apache/lucene/index/DirectoryReader; Y Z
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 ] ^
_ java/io/Closeable a 5com/groupbyinc/flux/common/apache/lucene/util/IOUtils c close ([Ljava/io/Closeable;)V e f
d g closeWhileHandlingException i f
d j java/lang/Throwable l success Z reader @Lcom/groupbyinc/flux/common/apache/lucene/index/DirectoryReader; :com/groupbyinc/flux/common/apache/lucene/index/IndexWriter r (Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig;)V t
s u =com/groupbyinc/flux/common/apache/lucene/search/IndexSearcher w ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;)V y
x z
setQueryCache ?(Lcom/groupbyinc/flux/common/apache/lucene/search/QueryCache;)V | }
x ~ createNormalizedWeight r(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Z)Lcom/groupbyinc/flux/common/apache/lucene/search/Weight; ? ?
x ? leaves ()Ljava/util/List; ? ?
X ? 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;)V ? ?
s ? e 1
s ? ctx BLcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext; i$ Ljava/util/Iterator; 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