All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.index.query.BoostingQueryBuilder.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????424com/groupbyinc/flux/index/query/BoostingQueryBuildernLcom/groupbyinc/flux/index/query/AbstractQueryBuilder;4com/groupbyinc/flux/index/query/AbstractQueryBuilderBoostingQueryBuilder.java5com/groupbyinc/flux/common/xcontent/ToXContent$Params.com/groupbyinc/flux/common/xcontent/ToXContent	Params8com/groupbyinc/flux/common/xcontent/XContentParser$Token2com/groupbyinc/flux/common/xcontent/XContentParserTokenNAMELjava/lang/String;boostingPOSITIVE_FIELD'Lcom/groupbyinc/flux/common/ParseField;NEGATIVE_FIELDNEGATIVE_BOOST_FIELD
positiveQuery.Lcom/groupbyinc/flux/index/query/QueryBuilder;
negativeQuery
negativeBoostF_(Lcom/groupbyinc/flux/index/query/QueryBuilder;Lcom/groupbyinc/flux/index/query/QueryBuilder;)V()V 
!??	$"java/lang/IllegalArgumentException&'inner clause [positive] cannot be null.((Ljava/lang/String;)V*
'+,com/groupbyinc/flux/index/query/QueryBuilder-'inner clause [negative] cannot be null./	1	3this6Lcom/groupbyinc/flux/index/query/BoostingQueryBuilder;5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Vjava/io/IOException87
:0com/groupbyinc/flux/common/io/stream/StreamInput<readNamedWriteableH(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/io/stream/NamedWriteable;>?
=@	readFloat()FBC
=Din2Lcom/groupbyinc/flux/common/io/stream/StreamInput;	doWriteTo6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V1com/groupbyinc/flux/common/io/stream/StreamOutputJwriteNamedWriteable8(Lcom/groupbyinc/flux/common/io/stream/NamedWriteable;)VLM
KN
writeFloat(F)VPQ
KRout3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;0()Lcom/groupbyinc/flux/index/query/QueryBuilder;9(F)Lcom/groupbyinc/flux/index/query/BoostingQueryBuilder;8query requires negativeBoost to be set to positive valueX
doXContento(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)V3com/groupbyinc/flux/common/xcontent/XContentBuilder\startObjectI(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;^_
]`	b%com/groupbyinc/flux/common/ParseFielddgetPreferredName()Ljava/lang/String;fg
ehfieldj_
]k
toXContent?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;mn.o	q	sJ(Ljava/lang/String;F)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;ju
]vprintBoostAndQueryName8(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)Vxy
z	endObject7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;|}
]~builder5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;params7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;fromXContentl(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/index/query/BoostingQueryBuilder;java/lang/String?	nextToken<()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;???
END_OBJECT:Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;??	
?
FIELD_NAME??	
?currentName?g?START_OBJECT??	
?match(Ljava/lang/String;)Z??
e?parseInnerQueryBuilderd(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/index/query/QueryBuilder;??
?+com/groupbyinc/flux/common/ParsingException?getTokenLocation8()Lcom/groupbyinc/flux/common/xcontent/XContentLocation;???java/lang/StringBuilder?
?!#[boosting] query does not support [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??]?toString?g
??java/lang/Object?^(Lcom/groupbyinc/flux/common/xcontent/XContentLocation;Ljava/lang/String;[Ljava/lang/Object;)V?
??isValue()Z??

?
floatValue?C?
NAME_FIELD?	?text?g?BOOST_FIELD?	?5[boosting] query requires 'positive' query to be set'?5[boosting] query requires 'negative' query to be set'?L[boosting] query requires 'negative_boost' to be set to be a positive value'?
?W
?boost9(F)Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder;??
?	queryNameJ(Ljava/lang/String;)Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder;??
?parser4Lcom/groupbyinc/flux/common/xcontent/XContentParser;positiveQueryFoundZnegativeQueryFoundcurrentFieldNametoken
boostingQuerygetWriteableName	doToQueryl(Lcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;toQuery??.?>com/groupbyinc/flux/common/apache/lucene/queries/BoostingQuery?r(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Lcom/groupbyinc/flux/common/apache/lucene/search/Query;F)V?
??context3Lcom/groupbyinc/flux/index/query/QueryShardContext;positive7Lcom/groupbyinc/flux/common/apache/lucene/search/Query;negative
doHashCode()Ijava/lang/Float?valueOf(F)Ljava/lang/Float;??
??java/util/Objects?hash([Ljava/lang/Object;)I??
?doEquals9(Lcom/groupbyinc/flux/index/query/BoostingQueryBuilder;)Zequals'(Ljava/lang/Object;Ljava/lang/Object;)Z
?other	doRewritee(Lcom/groupbyinc/flux/index/query/QueryRewriteContext;)Lcom/groupbyinc/flux/index/query/QueryBuilder;rewrite
.newQueryBuilderqueryRewriteContext5Lcom/groupbyinc/flux/index/query/QueryRewriteContext;extractInnerHitBuilders(Ljava/util/Map;)V6com/groupbyinc/flux/index/query/InnerHitContextBuilderextractInnerHits@(Lcom/groupbyinc/flux/index/query/QueryBuilder;Ljava/util/Map;)V
	innerHits[Ljava/util/Map;Ljava/util/Map;9(Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder;)Z
?((Ljava/lang/String;[Ljava/lang/String;)V!
e"?negative_boost%
ConstantValueCodeLocalVariableTableLineNumberTable
StackMapTable
ExceptionsLocalVariableTypeTable	Signature^(Ljava/util/Map;)V
SourceFileInnerClasses!'(?1*?"*#?%+?
?'Y)?,?,?
?'Y0?,?*+?2*,?4?) 15611*&	D;
EFHI&K+L0M+?..
7(v.*+?;*#?%*+.?A?.?2*+.?A?.?4*+?E?%?).56.FG*S;TU%V-W,9HI(Y+*?2?O+*?4?O+*?%?S?)56TU*[\]^,9V(/*?2?)56*dV(/*?4?)56*kW(`#??
?'YY?,?*#?%*?)56*rsuv+C(/*?%?)56*}Z[(?O+?aW+?c?i?lW*?2+,?pW+?r?i?lW*?4+,?pW+?t?i*?%?wW*+?{+?W?) O56O??O??*&	????)?5?D?I?N?,9	??(?}L=N68#8::*??Y:	????	???*??:???	???Y?c???
*??L=??IJr???*??N6?????Y*????Y?????????????????	????{?t???*??8??e?????*??:??O?????*??8??9??Y*????Y????????????????????Y*???????????Y*????????????Y*?????????Y+-??:

??W
??W
??W
?)p}??{y??w	t??q?mj?g?^??	b?6
*?&????	?????%?-?8?@?K?P?U?`?e?k???????????????????#?(?<?C?W?b?j?r?z?+,?	..???!
**,9?g(-?)56*???(t$*?2+??M*?4+??N??Y,-*?%??)*$56$??????*???,9??(J ??Y*?%??SY*?2SY*?4S??) 56*?(?6*?%??+?%????#*?2+?2??*?4+?4????)65666*??*?5?+4@	
(??*?2+?
M*?4+?
N,*?2?-*?4??Y,-??:*?%?%?*?)416?56?4)*???&?1?:?=?+?&..,9(_*?2+?*?4+??)56-*???./D(3	*+???)	56*0 (T4?eY ???#?c?eY$???#?r?eY&???#?t?*34"5.01
	
D	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy