com.groupbyinc.flux.search.dfs.DfsPhase.class Maven / Gradle / Ivy
???? 4 ? 'com/groupbyinc/flux/search/dfs/DfsPhase java/lang/Object &com/groupbyinc/flux/search/SearchPhase
DfsPhase.java )com/groupbyinc/flux/search/dfs/DfsPhase$1 3com/groupbyinc/flux/search/dfs/DfsPhase$DelegateSet
DelegateSet $assertionsDisabled Z ()V
this )Lcom/groupbyinc/flux/search/dfs/DfsPhase;
preProcess 6(Lcom/groupbyinc/flux/search/internal/SearchContext;)V context 3Lcom/groupbyinc/flux/search/internal/SearchContext; execute java/io/IOException java/lang/Exception :com/groupbyinc/flux/common/carrotsearch/hppc/ObjectHashSet
1com/groupbyinc/flux/search/internal/SearchContext ! searcher <()Lcom/groupbyinc/flux/search/internal/ContextIndexSearcher; # $
" % query 9()Lcom/groupbyinc/flux/common/apache/lucene/search/Query; ' (
" ) 8com/groupbyinc/flux/search/internal/ContextIndexSearcher + createNormalizedWeight r(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Z)Lcom/groupbyinc/flux/common/apache/lucene/search/Weight; - .
, / j(Lcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectHashSet;Lcom/groupbyinc/flux/search/dfs/DfsPhase$1;)V 1
2 6com/groupbyinc/flux/common/apache/lucene/search/Weight 4 extractTerms (Ljava/util/Set;)V 6 7
5 8 rescore ()Ljava/util/List; : ;
" < java/util/List > iterator ()Ljava/util/Iterator; @ A ? B java/util/Iterator D hasNext ()Z F G E H next ()Ljava/lang/Object; J K E L 1com/groupbyinc/flux/search/rescore/RescoreContext N rescorer /()Lcom/groupbyinc/flux/search/rescore/Rescorer; P Q
O R +com/groupbyinc/flux/search/rescore/Rescorer T ?(Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;Lcom/groupbyinc/flux/search/rescore/RescoreContext;Ljava/util/Set;)V 6 V U W java/lang/IllegalStateException Y Failed to extract terms [ *(Ljava/lang/String;Ljava/lang/Throwable;)V ]
Z ^ 3com/groupbyinc/flux/common/apache/lucene/index/Term ` toArray &(Ljava/lang/Class;)[Ljava/lang/Object; b c
d 6[Lcom/groupbyinc/flux/common/apache/lucene/index/Term; f >com/groupbyinc/flux/common/apache/lucene/search/TermStatistics h getTopReaderContext E()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext; j k
, l A[Lcom/groupbyinc/flux/common/apache/lucene/search/TermStatistics; n Acom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext p isCancelled r G
" s 0com/groupbyinc/flux/tasks/TaskCancelledException u cancelled w (Ljava/lang/String;)V y
v z :com/groupbyinc/flux/common/apache/lucene/index/TermContext | build ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext;Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)Lcom/groupbyinc/flux/common/apache/lucene/index/TermContext; ~
} ? termStatistics ?(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;Lcom/groupbyinc/flux/common/apache/lucene/index/TermContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/TermStatistics; ? ?
, ? +com/groupbyinc/flux/common/collect/HppcMaps ? newNoNullKeysMap D()Lcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectObjectHashMap; ? ?
? ? @com/groupbyinc/flux/common/carrotsearch/hppc/ObjectObjectHashMap ?
? field ()Ljava/lang/String; ? ?
a ? java/lang/AssertionError ?
field is null ? (Ljava/lang/Object;)V ?
? ? containsKey (Ljava/lang/Object;)Z ? ?
? ? collectionStatistics Z(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/search/CollectionStatistics; ? ?
, ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ?
? ? dfsResult 2()Lcom/groupbyinc/flux/search/dfs/DfsSearchResult; ? ?
" ? .com/groupbyinc/flux/search/dfs/DfsSearchResult ? termsStatistics ?([Lcom/groupbyinc/flux/common/apache/lucene/index/Term;[Lcom/groupbyinc/flux/common/apache/lucene/search/TermStatistics;)Lcom/groupbyinc/flux/search/dfs/DfsSearchResult; ? ?
? ? fieldStatistics t(Lcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectObjectHashMap;)Lcom/groupbyinc/flux/search/dfs/DfsSearchResult; ? ?
? ? getIndexReader >()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader; ? ?
, ? :com/groupbyinc/flux/common/apache/lucene/index/IndexReader ? maxDoc ()I ? ?
? ? 3(I)Lcom/groupbyinc/flux/search/dfs/DfsSearchResult; ? ?
? ? clear ?
? 9com/groupbyinc/flux/search/dfs/DfsPhaseExecutionException ? Exception during dfs phase ? ](Lcom/groupbyinc/flux/search/internal/SearchContext;Ljava/lang/String;Ljava/lang/Throwable;)V ?
? ? java/lang/Throwable ? e Ljava/io/IOException; rescoreContext 3Lcom/groupbyinc/flux/search/rescore/RescoreContext; termContext