com.groupbyinc.flux.search.fetch.subphase.DocValueFieldsFetchSubPhase.class Maven / Gradle / Ivy
???? 4 Ecom/groupbyinc/flux/search/fetch/subphase/DocValueFieldsFetchSubPhase java/lang/Object .com/groupbyinc/flux/search/fetch/FetchSubPhase DocValueFieldsFetchSubPhase.java %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles
Lookup ()V
this GLcom/groupbyinc/flux/search/fetch/subphase/DocValueFieldsFetchSubPhase; hitsExecute ](Lcom/groupbyinc/flux/search/internal/SearchContext;[Lcom/groupbyinc/flux/search/SearchHit;)V java/io/IOException 1com/groupbyinc/flux/search/internal/SearchContext collapse 7()Lcom/groupbyinc/flux/search/collapse/CollapseContext;
3com/groupbyinc/flux/search/collapse/CollapseContext getFieldType 4()Lcom/groupbyinc/flux/index/mapper/MappedFieldType;
! 0com/groupbyinc/flux/index/mapper/MappedFieldType # name ()Ljava/lang/String; % &
$ ' docValueFieldsContext C()Lcom/groupbyinc/flux/search/fetch/subphase/DocValueFieldsContext; ) *
+ ?com/groupbyinc/flux/search/fetch/subphase/DocValueFieldsContext - java/util/Collections /
singletonList $(Ljava/lang/Object;)Ljava/util/List; 1 2
0 3 (Ljava/util/List;)V
5
. 6 v(Lcom/groupbyinc/flux/search/fetch/subphase/DocValueFieldsContext;)Lcom/groupbyinc/flux/search/internal/SearchContext; ) 8
9 java/lang/String ; fields ()Ljava/util/List; = >
. ? java/util/List A contains (Ljava/lang/Object;)Z C D B E add G D B H '[Lcom/groupbyinc/flux/search/SearchHit; J clone ()Ljava/lang/Object; L M
K N "java/lang/invoke/LambdaMetafactory P metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; R S
Q T U '(Ljava/lang/Object;Ljava/lang/Object;)I W lambda$hitsExecute$0 O(Lcom/groupbyinc/flux/search/SearchHit;Lcom/groupbyinc/flux/search/SearchHit;)I Y Z
[ \ Z compare ()Ljava/util/Comparator; _ ` a java/util/Arrays c sort ,([Ljava/lang/Object;Ljava/util/Comparator;)V e f
d g iterator ()Ljava/util/Iterator; i j B k java/util/Iterator m hasNext ()Z o p n q next s M n t
mapperService 2()Lcom/groupbyinc/flux/index/mapper/MapperService; v w
x .com/groupbyinc/flux/index/mapper/MapperService z fullName F(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/MappedFieldType; | }
{ ~ @com/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext ? 3com/groupbyinc/flux/index/fielddata/AtomicFieldData ? 3com/groupbyinc/flux/index/fielddata/ScriptDocValues ? $com/groupbyinc/flux/search/SearchHit ? docId ()I ? ?
? ? docBase I ? ? ? ? reader =()Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader; ? ?
? ? 9com/groupbyinc/flux/common/apache/lucene/index/LeafReader ? maxDoc ? ?
? ? searcher <()Lcom/groupbyinc/flux/search/internal/ContextIndexSearcher; ? ?
? 8com/groupbyinc/flux/search/internal/ContextIndexSearcher ? getIndexReader >()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader; ? ?
? ? :com/groupbyinc/flux/common/apache/lucene/index/IndexReader ? leaves ? >
? ? 9com/groupbyinc/flux/common/apache/lucene/index/ReaderUtil ? subIndex (ILjava/util/List;)I ? ?
? ? get (I)Ljava/lang/Object; ? ? B ? getForField h(Lcom/groupbyinc/flux/index/mapper/MappedFieldType;)Lcom/groupbyinc/flux/index/fielddata/IndexFieldData; ? ?
? 2com/groupbyinc/flux/index/fielddata/IndexFieldData ? load y(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/index/fielddata/AtomicFieldData; ? ? ? ? getScriptValues 7()Lcom/groupbyinc/flux/index/fielddata/ScriptDocValues; ? ? ? ? setNextDocId (I)V ? ?
? ? fieldsOrNull ()Ljava/util/Map; ? ?
? ? java/util/HashMap ?
?
? ? (Ljava/util/Map;)V = ?
? ? getFields ? ?
? ?
java/util/Map ? &(Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ? 1com/groupbyinc/flux/common/document/DocumentField ? java/util/ArrayList ?
? ? %(Ljava/lang/String;Ljava/util/List;)V
?
? ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ? getValues ? >
? ? addAll (Ljava/util/Collection;)Z ? ? B ? Ljava/lang/String; readerIndex subDocId hitField 3Lcom/groupbyinc/flux/common/document/DocumentField; hit &Lcom/groupbyinc/flux/search/SearchHit; subReaderContext BLcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext; data 5Lcom/groupbyinc/flux/index/fielddata/AtomicFieldData; values 8Lcom/groupbyinc/flux/index/fielddata/ScriptDocValues<*>; 5Lcom/groupbyinc/flux/index/fielddata/ScriptDocValues; fieldType 2Lcom/groupbyinc/flux/index/mapper/MappedFieldType; field context 3Lcom/groupbyinc/flux/search/internal/SearchContext; hits java/lang/Integer ? (II)I _
? a b Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable
Exceptions BootstrapMethods
SourceFile InnerClasses 1
/ *? ? * + ?+? ? F+? ? "? (N+? ,? +? .Y-? 4? 7? :W? !+? ,? @-? F ? +? ,? @-? I W+? ,? ?,? O? KM,? b ? h+? ,? @? l N-? r ?-? u ? <:+? y? :? ?:::,: ?6
6
? ? 2:? ? ?? ?? ?? ?`? E? ?+? ?? ?? ?? ?6
+? ?? ?? ?
? ? ? ?:+? ?? ? :? ? :? ?? ?d6
? ?? ?? ? ?Y? ˶ ?? ?? ? ? ?:? %? ?Y? ?Y? ۷ ?:? ?? ? W? ?? ? W???$??? ?
8 % ? ? . ? ?
a ? ?
M 4 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? J ? ? ? ? ? " / 1 2 3 , 4 <