com.groupbyinc.flux.search.SearchHit.class Maven / Gradle / Ivy
???? 4? $com/groupbyinc/flux/search/SearchHit ?Ljava/lang/Object;Lcom/groupbyinc/flux/common/io/stream/Streamable;Lcom/groupbyinc/flux/common/xcontent/ToXContentObject;Ljava/lang/Iterable; java/lang/Object /com/groupbyinc/flux/common/io/stream/Streamable 4com/groupbyinc/flux/common/xcontent/ToXContentObject java/lang/Iterable
SearchHit.java 3com/groupbyinc/flux/search/SearchHit$NestedIdentity
NestedIdentity +com/groupbyinc/flux/search/SearchHit$Fields Fields 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params java/util/Map$Entry
java/util/Map Entry 8com/groupbyinc/flux/common/xcontent/XContentParser$Token 2com/groupbyinc/flux/common/xcontent/XContentParser Token ,com/groupbyinc/flux/search/SearchHits$Fields " %com/groupbyinc/flux/search/SearchHits $ :com/groupbyinc/flux/common/xcontent/ObjectParser$ValueType & 0com/groupbyinc/flux/common/xcontent/ObjectParser ( ValueType 5com/groupbyinc/flux/common/io/stream/Writeable$Reader + .com/groupbyinc/flux/common/io/stream/Writeable - Reader %java/lang/invoke/MethodHandles$Lookup 0 java/lang/invoke/MethodHandles 2 Lookup docId I
DEFAULT_SCORE F?? score id &Lcom/groupbyinc/flux/common/text/Text; type nestedIdentity 5Lcom/groupbyinc/flux/search/SearchHit$NestedIdentity; version J source 1Lcom/groupbyinc/flux/common/bytes/BytesReference; fields Ljava/util/Map; VLjava/util/Map; highlightFields gLjava/util/Map;
sortValues -Lcom/groupbyinc/flux/search/SearchSortValues; matchedQueries [Ljava/lang/String; explanation =Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation; shard .Lcom/groupbyinc/flux/search/SearchShardTarget; %Lcom/groupbyinc/flux/common/Nullable; index Ljava/lang/String; clusterAlias sourceAsMap 5Ljava/util/Map; innerHits JLjava/util/Map;
MAP_PARSER 2Lcom/groupbyinc/flux/common/xcontent/ObjectParser; yLcom/groupbyinc/flux/common/xcontent/ObjectParser;Ljava/lang/Void;>; ()V \ ]
^ : 8 `???????? @ A d java/util/Collections f emptyMap ()Ljava/util/Map; h i
g j D E l G E n +com/groupbyinc/flux/search/SearchSortValues p EMPTY r J q s I J u "com/groupbyinc/flux/common/Strings w EMPTY_ARRAY y L x z K L | this &Lcom/groupbyinc/flux/search/SearchHit; (I)V K(ILjava/lang/String;Lcom/groupbyinc/flux/common/text/Text;Ljava/util/Map;)V \ ?
? ?(ILjava/lang/String;Lcom/groupbyinc/flux/common/text/Text;Lcom/groupbyinc/flux/search/SearchHit$NestedIdentity;Ljava/util/Map;)V \ ?
? 5 6 ? $com/groupbyinc/flux/common/text/Text ? (Ljava/lang/String;)V \ ?
? ? ; < ? java/lang/String ? = < ? > ? ? nestedTopDocId ()I (F)V getScore ()F (J)V
getVersion ()J getIndex ()Ljava/lang/String; R S ? getId string ? ?
? ? getType getNestedIdentity 7()Lcom/groupbyinc/flux/search/SearchHit$NestedIdentity; getSourceRef 3()Lcom/groupbyinc/flux/common/bytes/BytesReference; java/io/IOException ? B C ? 5com/groupbyinc/flux/common/compress/CompressorFactory ? uncompressIfNeeded d(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/common/bytes/BytesReference; ? ?
? ? /com/groupbyinc/flux/ElasticsearchParseException ? failed to decompress source ? =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V \ ?
? ? e Ljava/io/IOException; sourceRef Y(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/search/SearchHit; U E ? hasSource ()Z getSourceAsString ? ?
? 2com/groupbyinc/flux/common/xcontent/XContentHelper ?
convertToJson F(Lcom/groupbyinc/flux/common/bytes/BytesReference;Z)Ljava/lang/String; ? ?
? ? )failed to convert source to a json string ? ((Ljava/lang/String;[Ljava/lang/Object;)V \ ?
? ? getSourceAsMap .com/groupbyinc/flux/search/lookup/SourceLookup ? B(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Ljava/util/Map; U ?
? ? iterator ()Ljava/util/Iterator; values ()Ljava/util/Collection; ? ? ? java/util/Collection ? ? ? ? ? field G(Ljava/lang/String;)Lcom/groupbyinc/flux/common/document/DocumentField; getFields ? i
? get &(Ljava/lang/Object;)Ljava/lang/Object; ? ? ? 1com/groupbyinc/flux/common/document/DocumentField ? fieldName fieldsOrNull (Ljava/util/Map;)V getHighlightFields B([Ljava/lang/Object;[Lcom/groupbyinc/flux/search/DocValueFormat;)V \ ?
q ? 0(Lcom/groupbyinc/flux/search/SearchSortValues;)V I ?
? [Ljava/lang/Object; sortValueFormats ,[Lcom/groupbyinc/flux/search/DocValueFormat;
getSortValues ()[Ljava/lang/Object; I ?
q ? getExplanation ?()Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation; M N @(Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation;)V getShard 0()Lcom/groupbyinc/flux/search/SearchShardTarget; O P 1(Lcom/groupbyinc/flux/search/SearchShardTarget;)V ,com/groupbyinc/flux/search/SearchShardTarget ? ?
getClusterAlias ?
T S target ([Ljava/lang/String;)V getMatchedQueries ()[Ljava/lang/String; getInnerHits W E setInnerHits
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; 3com/groupbyinc/flux/common/xcontent/XContentBuilder startObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
toInnerXContent!
" endObject$
% builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; java/util/ArrayList+
, ^ isEmpty. ? / java/util/List1 java/util/Iterator3 hasNext5 ?46 next ()Ljava/lang/Object;894: getValues ()Ljava/util/List;<=
?>2/ isMetadataFieldA ?
?B add (Ljava/lang/Object;)ZDE2F ? ?
H _shardJ
getShardId +()Lcom/groupbyinc/flux/index/shard/ShardId;LM
N [(Ljava/lang/String;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ?P
Q _nodeS
getNodeIdText (()Lcom/groupbyinc/flux/common/text/Text;UV
W o(Ljava/lang/String;Lcom/groupbyinc/flux/common/text/Text;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ?Y
Z
\ _index^ 0com/groupbyinc/flux/transport/RemoteClusterAware` buildRemoteIndexName 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;bc
ad [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ?f
g _typei _idk _versionm J(Ljava/lang/String;J)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ?o
p java/lang/Floatr isNaN (F)Ztu
sv _scorex nullField I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;z{
| J(Ljava/lang/String;F)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ?~
2 ? getValue?9
?? getName? ?
?? _source?
writeRawField ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/bytes/BytesReference;Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)V??
?? D{
?
?\ highlight? Bcom/groupbyinc/flux/search/fetch/subphase/highlight/HighlightField?
?\
q\ matched_queries?
startArray?{
? L value?{
? endArray?
? _explanation? ?{
? buildExplanation u(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation;)V??
?
inner_hits? entrySet ()Ljava/util/Set;?? ?
java/util/Set?? ? getKey?9 ? ?
%\ 3Lcom/groupbyinc/flux/common/document/DocumentField; Ljava/lang/Object; DLcom/groupbyinc/flux/search/fetch/subphase/highlight/HighlightField;
matchedFilter entry PLjava/util/Map$Entry; Ljava/util/Map$Entry;
metaFields ELjava/util/List; Ljava/util/List; otherFields fromXContent \(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/search/SearchHit; Y Z ? apply Z(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Ljava/lang/Object;)Ljava/lang/Object;??
)?
createFromMap 7(Ljava/util/Map;)Lcom/groupbyinc/flux/search/SearchHit;??
? parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; declareInnerHitsParseFields 5(Lcom/groupbyinc/flux/common/xcontent/ObjectParser;)V declareMetaDataFields??
? "java/lang/invoke/LambdaMetafactory? 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;??
??? '(Ljava/lang/Object;Ljava/lang/Object;)V? $lambda$declareInnerHitsParseFields$0 $(Ljava/util/Map;Ljava/lang/String;)V??
??? accept !()Ljava/util/function/BiConsumer;?? ? %com/groupbyinc/flux/common/ParseField? ((Ljava/lang/String;[Ljava/lang/String;)V \?
??
declareString I(Ljava/util/function/BiConsumer;Lcom/groupbyinc/flux/common/ParseField;)V??
)? $lambda$declareInnerHitsParseFields$1??
?? ? $lambda$declareInnerHitsParseFields$2??
?? ? $lambda$declareInnerHitsParseFields$3??
? ? $lambda$declareInnerHitsParseFields$4 #(Ljava/util/Map;Ljava/lang/Float;)V
? ?
parseScore 7(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)F
G(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Ljava/lang/Float; .()Lcom/groupbyinc/flux/common/CheckedFunction;?
FLOAT_OR_NULL