
com.groupbyinc.flux.index.query.NestedQueryBuilder.class Maven / Gradle / Ivy
???? 4T 2com/groupbyinc/flux/index/query/NestedQueryBuilder lLcom/groupbyinc/flux/index/query/AbstractQueryBuilder; 4com/groupbyinc/flux/index/query/AbstractQueryBuilder NestedQueryBuilder.java Kcom/groupbyinc/flux/index/query/NestedQueryBuilder$NestedInnerHitSubContext NestedInnerHitSubContext Ocom/groupbyinc/flux/index/query/NestedQueryBuilder$NestedInnerHitContextBuilder
NestedInnerHitContextBuilder 5com/groupbyinc/flux/common/xcontent/ToXContent$Params
.com/groupbyinc/flux/common/xcontent/ToXContent Params 8com/groupbyinc/flux/common/xcontent/XContentParser$Token 2com/groupbyinc/flux/common/xcontent/XContentParser Token 5com/groupbyinc/flux/common/io/stream/Writeable$Reader .com/groupbyinc/flux/common/io/stream/Writeable Reader 4com/groupbyinc/flux/index/mapper/ObjectMapper$Nested -com/groupbyinc/flux/index/mapper/ObjectMapper Nested %java/lang/invoke/MethodHandles$Lookup ! java/lang/invoke/MethodHandles # Lookup NAME Ljava/lang/String; nested ( DEFAULT_IGNORE_UNMAPPED Z SCORE_MODE_FIELD 'Lcom/groupbyinc/flux/common/ParseField;
PATH_FIELD QUERY_FIELD INNER_HITS_FIELD IGNORE_UNMAPPED_FIELD path scoreMode @Lcom/groupbyinc/flux/common/apache/lucene/search/join/ScoreMode; query .Lcom/groupbyinc/flux/index/query/QueryBuilder; innerHitBuilder 1Lcom/groupbyinc/flux/index/query/InnerHitBuilder; ignoreUnmapped ?(Ljava/lang/String;Lcom/groupbyinc/flux/index/query/QueryBuilder;Lcom/groupbyinc/flux/common/apache/lucene/search/join/ScoreMode;)V ?(Ljava/lang/String;Lcom/groupbyinc/flux/index/query/QueryBuilder;Lcom/groupbyinc/flux/common/apache/lucene/search/join/ScoreMode;Lcom/groupbyinc/flux/index/query/InnerHitBuilder;)V ; =
> this 4Lcom/groupbyinc/flux/index/query/NestedQueryBuilder; ()V ; B
C : + E [nested] requires 'path' field G requireValue 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; I J
K java/lang/String M 3 ' O [nested] requires 'query' field Q ,com/groupbyinc/flux/index/query/QueryBuilder S 6 7 U $[nested] requires 'score_mode' field W >com/groupbyinc/flux/common/apache/lucene/search/join/ScoreMode Y 4 5 [ 8 9 ] 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException ` ; _
b 0com/groupbyinc/flux/common/io/stream/StreamInput d
readString ()Ljava/lang/String; f g
e h values C()[Lcom/groupbyinc/flux/common/apache/lucene/search/join/ScoreMode; j k
Z l readVInt ()I n o
e p readNamedWriteable H(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/io/stream/NamedWriteable; r s
e t "java/lang/invoke/LambdaMetafactory v 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; x y
w z { F(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Ljava/lang/Object; } /com/groupbyinc/flux/index/query/InnerHitBuilder
? b ? e(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/index/query/InnerHitBuilder; ? read 9()Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader; ? ? ? readOptionalWriteable i(Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;)Lcom/groupbyinc/flux/common/io/stream/Writeable; ? ?
e ? readBoolean ()Z ? ?
e ? in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; doWriteTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 1com/groupbyinc/flux/common/io/stream/StreamOutput ? writeString (Ljava/lang/String;)V ? ?
? ? ordinal ? o
Z ? writeVInt (I)V ? ?
? ? writeNamedWriteable 8(Lcom/groupbyinc/flux/common/io/stream/NamedWriteable;)V ? ?
? ?
getVersion ()Lcom/groupbyinc/flux/Version; ? ?
? ? com/groupbyinc/flux/Version ? V_5_5_0 Lcom/groupbyinc/flux/Version; ? ? ? ? before (Lcom/groupbyinc/flux/Version;)Z ? ?
? ? writeBoolean (Z)V ? ?
? ? writeToNestedBWC v(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;Lcom/groupbyinc/flux/index/query/QueryBuilder;Ljava/lang/String;)V ? ?
? ? writeOptionalWriteable 3(Lcom/groupbyinc/flux/common/io/stream/Writeable;)V ? ?
? ? hasInnerHit out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; 0()Lcom/groupbyinc/flux/index/query/QueryBuilder; innerHit 3()Lcom/groupbyinc/flux/index/query/InnerHitBuilder; g(Lcom/groupbyinc/flux/index/query/InnerHitBuilder;)Lcom/groupbyinc/flux/index/query/NestedQueryBuilder; setIgnoreUnmapped 4(Z)Lcom/groupbyinc/flux/index/query/InnerHitBuilder; ? ?
? ? B()Lcom/groupbyinc/flux/common/apache/lucene/search/join/ScoreMode; 7(Z)Lcom/groupbyinc/flux/index/query/NestedQueryBuilder;
doXContent o(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)V 3com/groupbyinc/flux/common/xcontent/XContentBuilder ? startObject I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? 0 . ? %com/groupbyinc/flux/common/ParseField ? getPreferredName ? g
? ? field ? ?
? ?
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ? T ? / . ? [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? 2 . ? J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? - . ? scoreModeAsString T(Lcom/groupbyinc/flux/common/apache/lucene/search/join/ScoreMode;)Ljava/lang/String; ? ?
? printBoostAndQueryName 8(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)V ? ?
? 1 . ? ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/ToXContent;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? endObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; fromXContent j(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/index/query/NestedQueryBuilder; Avg 5 Z nextToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;
END_OBJECT :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;
FIELD_NAME currentName g START_OBJECT getDeprecationHandler :()Lcom/groupbyinc/flux/common/xcontent/DeprecationHandler; match M(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/DeprecationHandler;)Z
? parseInnerQueryBuilder d(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/index/query/QueryBuilder;"#
$ g(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/index/query/InnerHitBuilder;&
?' +com/groupbyinc/flux/common/ParsingException) getTokenLocation 8()Lcom/groupbyinc/flux/common/xcontent/XContentLocation;+, - java/lang/StringBuilder/
0 C ![nested] query does not support [2 append -(Ljava/lang/String;)Ljava/lang/StringBuilder;45
06 ]8 toString: g
0; java/lang/Object= ^(Lcom/groupbyinc/flux/common/xcontent/XContentLocation;Ljava/lang/String;[Ljava/lang/Object;)V ;?
*@ isValueB ?
C textE g F BOOST_FIELDH . I
floatValue ()FKL M booleanValueO ? P parseScoreMode T(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/search/join/ScoreMode;RS
T
NAME_FIELDV . W : ?
Y queryName J(Ljava/lang/String;)Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder;[\
] boost 9(F)Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder;_`
a parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; F currentFieldName token queryBuilder nonei equals (Ljava/lang/Object;)Zkl
Nm Noneo 5 Zp minr Mint 5 Zu maxw Maxy 5 Zz avg| sum~ Total? 5 Z? "java/lang/IllegalArgumentException? No score mode for child query [? ] found? ; ?
?? scoreModeString name? g
Z? java/util/Locale? ROOT Ljava/util/Locale;?? ?? toLowerCase &(Ljava/util/Locale;)Ljava/lang/String;??
N? getWriteableName doEquals 7(Lcom/groupbyinc/flux/index/query/NestedQueryBuilder;)Z java/util/Objects? '(Ljava/lang/Object;Ljava/lang/Object;)Zk?
?? java/lang/Boolean? valueOf (Z)Ljava/lang/Boolean;??
?? that
doHashCode hash ([Ljava/lang/Object;)I??
?? doToQuery l(Lcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; 1com/groupbyinc/flux/index/query/QueryShardContext? getObjectMapper C(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/ObjectMapper;??
?? @com/groupbyinc/flux/common/apache/lucene/search/MatchNoDocsQuery?
? C java/lang/IllegalStateException? 2[nested] failed to find nested object under path [?
?? 8()Lcom/groupbyinc/flux/index/mapper/ObjectMapper$Nested; (?
? isNested? ?
? #[nested] nested object under path [? ] is not of nested type? nestedScope 7()Lcom/groupbyinc/flux/index/query/support/NestedScope;??
?? 3com/groupbyinc/flux/index/query/support/NestedScope? 1()Lcom/groupbyinc/flux/index/mapper/ObjectMapper;??
?? indexVersionCreated? ?
?? 0com/groupbyinc/flux/common/lucene/search/Queries? newNonNestedFilter V(Lcom/groupbyinc/flux/Version;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;??
?? bitsetFilter ~(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)Lcom/groupbyinc/flux/common/apache/lucene/search/join/BitSetProducer;??
?? nestedTypeFilter 9()Lcom/groupbyinc/flux/common/apache/lucene/search/Query;??
? Ccom/groupbyinc/flux/common/apache/lucene/search/join/BitSetProducer? nextLevel `(Lcom/groupbyinc/flux/index/mapper/ObjectMapper;)Lcom/groupbyinc/flux/index/mapper/ObjectMapper;??
?? toQuery?? T?
previousLevel??
?? java/lang/Throwable? 5com/groupbyinc/flux/common/apache/lucene/search/Query? -com/groupbyinc/flux/index/search/NestedHelper? getMapperService 2()Lcom/groupbyinc/flux/index/mapper/MapperService;??
?? 3(Lcom/groupbyinc/flux/index/mapper/MapperService;)V ;?
?? mightMatchNonNestedDocs L(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Ljava/lang/String;)Z??
?? filtered ?(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)Lcom/groupbyinc/flux/common/apache/lucene/search/BooleanQuery;??
? 9com/groupbyinc/flux/index/search/ESToParentBlockJoinQuery fullPath g
?(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Lcom/groupbyinc/flux/common/apache/lucene/search/join/BitSetProducer;Lcom/groupbyinc/flux/common/apache/lucene/search/join/ScoreMode;Ljava/lang/String;)V ;
parentFilter ELcom/groupbyinc/flux/common/apache/lucene/search/join/BitSetProducer;
innerQuery 7Lcom/groupbyinc/flux/common/apache/lucene/search/Query; context 3Lcom/groupbyinc/flux/index/query/QueryShardContext; nestedObjectMapper /Lcom/groupbyinc/flux/index/mapper/ObjectMapper; objectMapper doRewrite e(Lcom/groupbyinc/flux/index/query/QueryRewriteContext;)Lcom/groupbyinc/flux/index/query/QueryBuilder; rewrite T nestedQuery queryRewriteContext 5Lcom/groupbyinc/flux/index/query/QueryRewriteContext; rewrittenQuery extractInnerHitBuilders (Ljava/util/Map;)V java/util/HashMap
C 6com/groupbyinc/flux/index/query/InnerHitContextBuilder! extractInnerHits @(Lcom/groupbyinc/flux/index/query/QueryBuilder;Ljava/util/Map;)V#$
"% ?(Ljava/lang/String;Lcom/groupbyinc/flux/index/query/QueryBuilder;Lcom/groupbyinc/flux/index/query/InnerHitBuilder;Ljava/util/Map;)V ;'
( getName* g
?+
java/util/Map- put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;/0.1 children [Ljava/util/Map; Ljava/util/Map; innerHitContextBuilder 8Lcom/groupbyinc/flux/index/query/InnerHitContextBuilder; innerHits 9(Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder;)Z??
:
score_mode= ((Ljava/lang/String;[Ljava/lang/String;)V ;?
?@ 3 6
inner_hitsD ignore_unmappedF
ConstantValue Code LocalVariableTable LineNumberTable
Exceptions
StackMapTable LocalVariableTypeTable Signature ^(Ljava/util/Map;)V BootstrapMethods
SourceFile InnerClasses ! &