com.groupbyinc.flux.search.fetch.subphase.ScriptFieldsFetchSubPhase.class Maven / Gradle / Ivy
???? 4 ? Ccom/groupbyinc/flux/search/fetch/subphase/ScriptFieldsFetchSubPhase java/lang/Object .com/groupbyinc/flux/search/fetch/FetchSubPhase ScriptFieldsFetchSubPhase.java 9com/groupbyinc/flux/search/fetch/FetchSubPhase$HitContext
HitContext Icom/groupbyinc/flux/search/fetch/subphase/ScriptFieldsContext$ScriptField =com/groupbyinc/flux/search/fetch/subphase/ScriptFieldsContext
ScriptField 3com/groupbyinc/flux/script/SearchScript$LeafFactory 'com/groupbyinc/flux/script/SearchScript LeafFactory ()V
this ELcom/groupbyinc/flux/search/fetch/subphase/ScriptFieldsFetchSubPhase;
hitExecute q(Lcom/groupbyinc/flux/search/internal/SearchContext;Lcom/groupbyinc/flux/search/fetch/FetchSubPhase$HitContext;)V java/io/IOException java/lang/RuntimeException 1com/groupbyinc/flux/search/internal/SearchContext ! hasScriptFields ()Z # $
" % scriptFields A()Lcom/groupbyinc/flux/search/fetch/subphase/ScriptFieldsContext; ' (
" ) fields ()Ljava/util/List; + ,
- java/util/List / iterator ()Ljava/util/Iterator; 1 2 0 3 java/util/Iterator 5 hasNext 7 $ 6 8 next ()Ljava/lang/Object; : ; 6 < script 7()Lcom/groupbyinc/flux/script/SearchScript$LeafFactory; > ?
@
readerContext D()Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext; B C
D newInstance m(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/script/SearchScript; F G H java/lang/IllegalStateException J Failed to load script L *(Ljava/lang/String;Ljava/lang/Throwable;)V N
K O docId ()I Q R
S setDocument (I)V U V
W run Y ;
Z ignoreException \ $
] hit (()Lcom/groupbyinc/flux/search/SearchHit; _ `
a $com/groupbyinc/flux/search/SearchHit c fieldsOrNull ()Ljava/util/Map; e f
d g java/util/HashMap i V
j k (Ljava/util/Map;)V + m
d n getFields p f
d q name ()Ljava/lang/String; s t
u
java/util/Map w get &(Ljava/lang/Object;)Ljava/lang/Object; y z x { 1com/groupbyinc/flux/common/document/DocumentField } java/util/Collection java/util/ArrayList ? (Ljava/util/Collection;)V ?
? ? java/util/Collections ?
singletonList $(Ljava/lang/Object;)Ljava/util/List; ? ?
? ? %(Ljava/lang/String;Ljava/util/List;)V ?
~ ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? x ?
leafScript )Lcom/groupbyinc/flux/script/SearchScript; e1 Ljava/io/IOException; value Ljava/lang/Object; e Ljava/lang/RuntimeException; values $Ljava/util/List; Ljava/util/List; hitField 3Lcom/groupbyinc/flux/common/document/DocumentField; scriptField KLcom/groupbyinc/flux/search/fetch/subphase/ScriptFieldsContext$ScriptField; context 3Lcom/groupbyinc/flux/search/internal/SearchContext;
hitContext ;Lcom/groupbyinc/flux/search/fetch/FetchSubPhase$HitContext; Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable
SourceFile InnerClasses 1 ? / *? ? ? ? ! ? ? ?+? &? ?+? *? .? 4 N-? 9 ? ?-? = ? :? A,? E? I :? :? KYM? P?,? T? X? [:? :? ^? ????,? b? h? ,? b? jY? l? o,? b? r? v? | ? ~:? G? ?? ? ?Y? ?? ?:?
? ?:? ~Y? v? ?:,? b? r? v? ? W??0? ) 9 <