com.groupbyinc.flux.index.query.SpanMultiTermQueryBuilder.class Maven / Gradle / Ivy
???? 4, 9com/groupbyinc/flux/index/query/SpanMultiTermQueryBuilder ?Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder;Lcom/groupbyinc/flux/index/query/SpanQueryBuilder; 4com/groupbyinc/flux/index/query/AbstractQueryBuilder 0com/groupbyinc/flux/index/query/SpanQueryBuilder SpanMultiTermQueryBuilder.java 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 NAME Ljava/lang/String;
span_multi MATCH_FIELD 'Lcom/groupbyinc/flux/common/ParseField; multiTermQueryBuilder 7Lcom/groupbyinc/flux/index/query/MultiTermQueryBuilder; $assertionsDisabled Z :(Lcom/groupbyinc/flux/index/query/MultiTermQueryBuilder;)V ()V
"java/lang/IllegalArgumentException " %inner multi term query cannot be null $ (Ljava/lang/String;)V &
# ' 5com/groupbyinc/flux/index/query/MultiTermQueryBuilder ) + this ;Lcom/groupbyinc/flux/index/query/SpanMultiTermQueryBuilder; 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException 0 /
2 ,com/groupbyinc/flux/index/query/QueryBuilder 4 0com/groupbyinc/flux/common/io/stream/StreamInput 6 readNamedWriteable H(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/io/stream/NamedWriteable; 8 9
7 : 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 @ writeNamedWriteable 8(Lcom/groupbyinc/flux/common/io/stream/NamedWriteable;)V B C
A D out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;
innerQuery 9()Lcom/groupbyinc/flux/index/query/MultiTermQueryBuilder;
doXContent o(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)V 3com/groupbyinc/flux/common/xcontent/XContentBuilder L startObject I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; N O
M P R %com/groupbyinc/flux/common/ParseField T getPreferredName ()Ljava/lang/String; V W
U X field Z O
M [
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ] ^ * _ printBoostAndQueryName 8(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)V a b
c endObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; e f
M g builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; fromXContent q(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/index/query/SpanMultiTermQueryBuilder; java/lang/String o nextToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; q r s
END_OBJECT :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; u v w
FIELD_NAME y v z currentName | W } START_OBJECT v ? match (Ljava/lang/String;)Z ? ?
U ? parseInnerQueryBuilder d(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/index/query/QueryBuilder; ? ?
? +com/groupbyinc/flux/common/ParsingException ? getTokenLocation 8()Lcom/groupbyinc/flux/common/xcontent/XContentLocation; ? ? ? java/lang/StringBuilder ?
? [span_multi] [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? "] must be of type multi term query ? toString ? W
? ? java/lang/Object ? ^(Lcom/groupbyinc/flux/common/xcontent/XContentLocation;Ljava/lang/String;[Ljava/lang/Object;)V ?
? ? %[span_multi] query does not support [ ? ] ? isValue ()Z ? ?
?
NAME_FIELD ? ? text ? W ? BOOST_FIELD ? ?
floatValue ()F ? ? ? [span_multi] must have [ ? ] multi term query clause ?
? queryName J(Ljava/lang/String;)Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder; ? ?
? boost 9(F)Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder; ? ?
? query .Lcom/groupbyinc/flux/index/query/QueryBuilder; parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; currentFieldName subQuery F token doToQuery l(Lcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; toQuery ? ? * ? :com/groupbyinc/flux/common/apache/lucene/search/BoostQuery ? getQuery 9()Lcom/groupbyinc/flux/common/apache/lucene/search/Query; ? ?
? ? getBoost ? ?
? ? 5com/groupbyinc/flux/common/apache/lucene/search/Query ? ? Dcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanBoostQuery ? java/lang/AssertionError ?
? >com/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery ? 'java/lang/UnsupportedOperationException ? #unsupported inner query, should be ? java/lang/Class ? getName ? W
? ? but was ? getClass ()Ljava/lang/Class; ? ?
? ?
? ' Ocom/groupbyinc/flux/common/apache/lucene/search/spans/SpanMultiTermQueryWrapper ? C(Lcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery;)V ?
? ? E(Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery;F)V ?
? ? ?com/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery ?
boostQuery