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/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 /
0 6com/groupbyinc/flux/common/apache/lucene/search/Weight 2 extractTerms (Ljava/util/Set;)V 4 5
3 6 rescore ()Ljava/util/List; 8 9
: java/util/List < iterator ()Ljava/util/Iterator; > ? = @ java/util/Iterator B hasNext ()Z D E C F next ()Ljava/lang/Object; H I C J 7com/groupbyinc/flux/search/rescore/RescoreSearchContext L rescorer /()Lcom/groupbyinc/flux/search/rescore/Rescorer; N O
M P +com/groupbyinc/flux/search/rescore/Rescorer R ~(Lcom/groupbyinc/flux/search/internal/SearchContext;Lcom/groupbyinc/flux/search/rescore/RescoreSearchContext;Ljava/util/Set;)V 4 T S U 3com/groupbyinc/flux/common/apache/lucene/index/Term W toArray &(Ljava/lang/Class;)[Ljava/lang/Object; Y Z
[ 6[Lcom/groupbyinc/flux/common/apache/lucene/index/Term; ] >com/groupbyinc/flux/common/apache/lucene/search/TermStatistics _ getTopReaderContext E()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext; a b
* c A[Lcom/groupbyinc/flux/common/apache/lucene/search/TermStatistics; e Acom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext g isCancelled i E
j 0com/groupbyinc/flux/tasks/TaskCancelledException l cancelled n (Ljava/lang/String;)V p
m q :com/groupbyinc/flux/common/apache/lucene/index/TermContext s 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; u v
t w 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; y z
* { +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; ? ?
X ? 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 ? rescoreContext 9Lcom/groupbyinc/flux/search/rescore/RescoreSearchContext; termContext