com.groupbyinc.flux.common.apache.lucene.search.spans.SpanMultiTermQueryWrapper.class Maven / Gradle / Ivy
???? 4 ? Ocom/groupbyinc/flux/common/apache/lucene/search/spans/SpanMultiTermQueryWrapper ?Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery; ?com/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery SpanMultiTermQueryWrapper.java ocom/groupbyinc/flux/common/apache/lucene/search/spans/SpanMultiTermQueryWrapper$TopTermsSpanBooleanQueryRewrite TopTermsSpanBooleanQueryRewrite acom/groupbyinc/flux/common/apache/lucene/search/spans/SpanMultiTermQueryWrapper$SpanRewriteMethod
SpanRewriteMethod Qcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanMultiTermQueryWrapper$1
Lcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery$RewriteMethod >com/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery
RewriteMethod query @Lcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery; TQ;
rewriteMethod cLcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanMultiTermQueryWrapper$SpanRewriteMethod; SCORING_SPAN_QUERY_REWRITE C(Lcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery;)V ()V
java/util/Objects requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object; ! "
# % selectRewriteMethod ?(Lcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery;)Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanMultiTermQueryWrapper$SpanRewriteMethod; ' (
) + this VLcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanMultiTermQueryWrapper; QLcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanMultiTermQueryWrapper; getRewriteMethod P()Lcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery$RewriteMethod; 0 1
2 ?com/groupbyinc/flux/common/apache/lucene/search/TopTermsRewrite 4 getSize ()I 6 7
5 8 (I)V :
; = pqsize I method NLcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery$RewriteMethod; e()Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanMultiTermQueryWrapper$SpanRewriteMethod; setRewriteMethod f(Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanMultiTermQueryWrapper$SpanRewriteMethod;)V getField ()Ljava/lang/String; F G
H createWeight ?(Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;ZF)Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanWeight; java/io/IOException L "java/lang/IllegalArgumentException N Rewrite first! P (Ljava/lang/String;)V R
O S searcher ?Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher; needsScores Z boost F getWrappedQuery 9()Lcom/groupbyinc/flux/common/apache/lucene/search/Query; toString &(Ljava/lang/String;)Ljava/lang/String; java/lang/StringBuilder _
` SpanMultiTermQueryWrapper( b append -(Ljava/lang/String;)Ljava/lang/StringBuilder; d e
` f ] ^
h ) j ] G
` l field Ljava/lang/String; builder Ljava/lang/StringBuilder; queryStr rewrite u(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;Lcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery;)Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery; s u
v reader