
com.groupbyinc.flux.percolator.MultiDocumentPercolatorIndex.class Maven / Gradle / Ivy
???? 3 ;com/groupbyinc/flux/percolator/MultiDocumentPercolatorIndex java/lang/Object .com/groupbyinc/flux/percolator/PercolatorIndex !MultiDocumentPercolatorIndex.java =com/groupbyinc/flux/percolator/MultiDocumentPercolatorIndex$1 Gcom/groupbyinc/flux/percolator/MultiDocumentPercolatorIndex$DocSearcher
DocSearcher 6com/groupbyinc/flux/index/mapper/ParseContext$Document
-com/groupbyinc/flux/index/mapper/ParseContext Document 0com/groupbyinc/flux/index/engine/Engine$Searcher 'com/groupbyinc/flux/index/engine/Engine Searcher cache DLcom/groupbyinc/flux/common/apache/lucene/util/CloseableThreadLocal; ?Lcom/groupbyinc/flux/common/apache/lucene/util/CloseableThreadLocal; $assertionsDisabled Z G(Lcom/groupbyinc/flux/common/apache/lucene/util/CloseableThreadLocal;)V ()V
! this =Lcom/groupbyinc/flux/percolator/MultiDocumentPercolatorIndex; prepare e(Lcom/groupbyinc/flux/percolator/PercolateContext;Lcom/groupbyinc/flux/index/mapper/ParsedDocument;)V java/io/IOException ' /com/groupbyinc/flux/index/mapper/ParsedDocument ) docs ()Ljava/util/List; + ,
* - java/util/List / size ()I 1 2 0 3 :com/groupbyinc/flux/common/apache/lucene/index/IndexReader 5 7 java/lang/AssertionError 9
: =[Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader; < Acom/groupbyinc/flux/common/apache/lucene/index/memory/MemoryIndex > get (I)Ljava/lang/Object; @ A 0 B Bcom/groupbyinc/flux/common/apache/lucene/util/CloseableThreadLocal D ()Ljava/lang/Object; @ F
E G (Z)V I
? J /com/groupbyinc/flux/percolator/PercolateContext L
mapperService 2()Lcom/groupbyinc/flux/index/mapper/MapperService; N O
M P type ()Ljava/lang/String; R S
* T .com/groupbyinc/flux/index/mapper/MapperService V documentMapper E(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/DocumentMapper; X Y
W Z /com/groupbyinc/flux/index/mapper/DocumentMapper \ mappers 9()Lcom/groupbyinc/flux/index/mapper/DocumentFieldMappers; ^ _
] ` 5com/groupbyinc/flux/index/mapper/DocumentFieldMappers b
indexAnalyzer >()Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer; d e
c f indexDoc ?(Lcom/groupbyinc/flux/index/mapper/ParseContext$Document;Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;Lcom/groupbyinc/flux/common/apache/lucene/index/memory/MemoryIndex;)Lcom/groupbyinc/flux/common/apache/lucene/index/memory/MemoryIndex; h i
j createSearcher A()Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher; l m
? n =com/groupbyinc/flux/common/apache/lucene/search/IndexSearcher p getIndexReader >()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader; r s
q t :com/groupbyinc/flux/common/apache/lucene/index/MultiReader v A([Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;Z)V x
w y Icom/groupbyinc/flux/common/apache/lucene/index/SlowCompositeReaderWrapper { wrap y(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;)Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader; } ~
| ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;)V ?
q ?
setQueryCache ?(Lcom/groupbyinc/flux/common/apache/lucene/search/QueryCache;)V ? ?
q ?(Lcom/groupbyinc/flux/percolator/MultiDocumentPercolatorIndex;Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;Lcom/groupbyinc/flux/common/apache/lucene/index/memory/MemoryIndex;Lcom/groupbyinc/flux/percolator/MultiDocumentPercolatorIndex$1;)V ?
?
initialize f(Lcom/groupbyinc/flux/index/engine/Engine$Searcher;Lcom/groupbyinc/flux/index/mapper/ParsedDocument;)V ? ?
M ? *com/groupbyinc/flux/ElasticsearchException ? ;Failed to create index for percolator with nested document ? =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V ?
? ? memoryIndex CLcom/groupbyinc/flux/common/apache/lucene/index/memory/MemoryIndex; d 8Lcom/groupbyinc/flux/index/mapper/ParseContext$Document; analyzer