
com.groupbyinc.flux.index.query.BoostingQueryParser.class Maven / Gradle / Ivy
???? 3 ? 3com/groupbyinc/flux/index/query/BoostingQueryParser java/lang/Object +com/groupbyinc/flux/index/query/QueryParser BoostingQueryParser.java 8com/groupbyinc/flux/common/xcontent/XContentParser$Token 2com/groupbyinc/flux/common/xcontent/XContentParser
Token NAME Ljava/lang/String; boosting ()V *Lcom/groupbyinc/flux/common/inject/Inject;
this 5Lcom/groupbyinc/flux/index/query/BoostingQueryParser; names ()[Ljava/lang/String; java/lang/String parse l(Lcom/groupbyinc/flux/index/query/QueryParseContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; java/io/IOException 5com/groupbyinc/flux/index/query/QueryParsingException 1com/groupbyinc/flux/index/query/QueryParseContext " parser 6()Lcom/groupbyinc/flux/common/xcontent/XContentParser; $ %
# &?? 5com/groupbyinc/flux/common/apache/lucene/search/Query ) nextToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; + , -
END_OBJECT :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; / 0 1
FIELD_NAME 3 0 4 currentName ()Ljava/lang/String; 6 7 8 START_OBJECT : 0 ; positive = equals (Ljava/lang/Object;)Z ? @
A parseInnerQuery 9()Lcom/groupbyinc/flux/common/apache/lucene/search/Query; C D
# E negative G java/lang/StringBuilder I
J #[boosting] query does not support [ L append -(Ljava/lang/String;)Ljava/lang/StringBuilder; N O
J P ] R toString T 7
J U [(Lcom/groupbyinc/flux/index/query/QueryParseContext;Ljava/lang/String;[Ljava/lang/Object;)V W
! X isValue ()Z Z [
\ negative_boost ^
negativeBoost `
floatValue ()F b c d boost f 5[boosting] query requires 'positive' query to be set' h 5[boosting] query requires 'negative' query to be set' j 5[boosting] query requires 'negative_boost' to be set' l >com/groupbyinc/flux/common/apache/lucene/queries/BoostingQuery n r(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Lcom/groupbyinc/flux/common/apache/lucene/search/Query;F)V p
o q setBoost (F)V s t
o u parseContext 3Lcom/groupbyinc/flux/index/query/QueryParseContext; 4Lcom/groupbyinc/flux/common/xcontent/XContentParser;
positiveQuery 7Lcom/groupbyinc/flux/common/apache/lucene/search/Query; positiveQueryFound Z
negativeQuery negativeQueryFound F currentFieldName token
boostingQuery @Lcom/groupbyinc/flux/common/apache/lucene/queries/BoostingQuery;
ConstantValue Code LocalVariableTable LineNumberTable RuntimeVisibleAnnotations
StackMapTable
Exceptions
SourceFile InnerClasses !
? ? 3 *? ? ? ?
% &