
com.groupbyinc.flux.index.engine.InternalEngine$SearchFactory.class Maven / Gradle / Ivy
???? 3 ? =com/groupbyinc/flux/index/engine/InternalEngine$SearchFactory 6com/groupbyinc/flux/index/engine/EngineSearcherFactory InternalEngine.java /com/groupbyinc/flux/index/engine/InternalEngine
SearchFactory 7com/groupbyinc/flux/indices/IndicesWarmer$WarmerContext )com/groupbyinc/flux/indices/IndicesWarmer
WarmerContext 0com/groupbyinc/flux/index/engine/Engine$Searcher 'com/groupbyinc/flux/index/engine/Engine Searcher warmer +Lcom/groupbyinc/flux/indices/IndicesWarmer; shardId )Lcom/groupbyinc/flux/index/shard/ShardId; logger -Lcom/groupbyinc/flux/common/logging/ESLogger; isEngineClosed +Ljava/util/concurrent/atomic/AtomicBoolean; $assertionsDisabled Z ?(Lcom/groupbyinc/flux/common/logging/ESLogger;Ljava/util/concurrent/atomic/AtomicBoolean;Lcom/groupbyinc/flux/index/engine/EngineConfig;)V 2(Lcom/groupbyinc/flux/index/engine/EngineConfig;)V
-com/groupbyinc/flux/index/engine/EngineConfig " getWarmer -()Lcom/groupbyinc/flux/indices/IndicesWarmer; $ %
# & (
getShardId +()Lcom/groupbyinc/flux/index/shard/ShardId; * +
# , . 0 2 this ?Lcom/groupbyinc/flux/index/engine/InternalEngine$SearchFactory; engineConfig /Lcom/groupbyinc/flux/index/engine/EngineConfig; newSearcher ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;)Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher; java/io/IOException : java/lang/Throwable < 8 9
> 9com/groupbyinc/flux/common/apache/lucene/index/LeafReader @ isMergedSegment >(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;)Z B C
D =com/groupbyinc/flux/common/apache/lucene/search/IndexSearcher F java/util/ArrayList H ()V J
I K :com/groupbyinc/flux/common/apache/lucene/index/IndexReader M leaves ()Ljava/util/List; O P
N Q java/util/List S iterator ()Ljava/util/Iterator; U V T W java/util/Iterator Y hasNext ()Z [ \ Z ] next ()Ljava/lang/Object; _ ` Z a @com/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext c reader =()Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader; e f
d g getCoreCacheKey i `
A j java/lang/Object l equals (Ljava/lang/Object;)Z n o
m p add r o T s isEmpty u \ T v :com/groupbyinc/flux/common/apache/lucene/index/MultiReader x size ()I z { T | toArray (([Ljava/lang/Object;)[Ljava/lang/Object; ~ T ? =[Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader; ? A([Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;Z)V ?
y ? new_reader_warming ? T(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;)V ?
? ^(Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/index/engine/Engine$Searcher;)V ?
? warmNewReaders <(Lcom/groupbyinc/flux/indices/IndicesWarmer$WarmerContext;)V ? ?
? ? getIndexReader >()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader; ? ?
G ? Dcom/groupbyinc/flux/common/lucene/index/ElasticsearchDirectoryReader ? java/lang/AssertionError ? java/lang/StringBuilder ?
? K :this class needs an ElasticsearchDirectoryReader but got: ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? getClass ()Ljava/lang/Class; ? ?
m ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? toString ()Ljava/lang/String; ? ?
? ? (Ljava/lang/Object;)V ?
? ? top_reader_warming ?
warmTopReader ? ?
? java/io/Closeable ? 5com/groupbyinc/flux/common/apache/lucene/util/IOUtils ? closeWhileHandlingException ([Ljava/io/Closeable;)V ? ?
? ? )java/util/concurrent/atomic/AtomicBoolean ? get ? \
? ? failed to prepare/warm ? +com/groupbyinc/flux/common/logging/ESLogger ? warn =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V ? ? ? ? currentReaderContext BLcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext; found newReaderContext newReader