
com.groupbyinc.flux.index.query.SpanFirstQueryParser.class Maven / Gradle / Ivy
???? 3 ? 4com/groupbyinc/flux/index/query/SpanFirstQueryParser java/lang/Object +com/groupbyinc/flux/index/query/QueryParser SpanFirstQueryParser.java 8com/groupbyinc/flux/common/xcontent/XContentParser$Token 2com/groupbyinc/flux/common/xcontent/XContentParser
Token NAME Ljava/lang/String;
span_first ()V *Lcom/groupbyinc/flux/common/inject/Inject;
this 6Lcom/groupbyinc/flux/index/query/SpanFirstQueryParser; 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; $ %
# & ?com/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery ( nextToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; * + ,
END_OBJECT :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; . / 0
FIELD_NAME 2 / 3 currentName ()Ljava/lang/String; 5 6 7 START_OBJECT 9 / : match < equals (Ljava/lang/Object;)Z > ?
@ parseInnerQuery 9()Lcom/groupbyinc/flux/common/apache/lucene/search/Query; B C
# D ,spanFirst [match] must be of type span query F [(Lcom/groupbyinc/flux/index/query/QueryParseContext;Ljava/lang/String;[Ljava/lang/Object;)V H
! I 5com/groupbyinc/flux/common/apache/lucene/search/Query K java/lang/StringBuilder M
N %[span_first] query does not support [ P append -(Ljava/lang/String;)Ljava/lang/StringBuilder; R S
N T ] V toString X 6
N Y boost [
floatValue ()F ] ^ _ end a intValue ()I c d e _name g text i 6 j -spanFirst must have [match] span query clause l $spanFirst must have [end] set for it n Dcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanFirstQuery p E(Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery;I)V r
q s setBoost (F)V u v
q w
addNamedQuery L(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)V y z
# { query 7Lcom/groupbyinc/flux/common/apache/lucene/search/Query; parseContext 3Lcom/groupbyinc/flux/index/query/QueryParseContext; 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; F ALcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery; I queryName currentFieldName token FLcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanFirstQuery;
ConstantValue Code LocalVariableTable LineNumberTable RuntimeVisibleAnnotations
StackMapTable
Exceptions
SourceFile InnerClasses !
? ? 3 *? ? ? ?
' ( ? ? 4
? YS? ?
? , ? ?
D+? 'MF:6::,? - Y:? 1? ?? 4? ,? 8 :???? ;? Z=? A? *+? E: ? )? ? !Y+G? ? J? ? ):???? !Y+? NY? OQ? U? UW? U? Z? ? J?\? A?
,? ` F??nb? A? ,? f 6??Yh? A? ,? k :??D? !Y+? NY? OQ? U? UW? U? Z? ? J?? ? !Y+m? ? J?? ? !Y+o? ? J?? qY? t: %? x? + ? | ? ? p M } ~ D D ? ? $ ? = [ ?
: <