
com.groupbyinc.flux.common.apache.lucene.search.BlendedTermQuery.class Maven / Gradle / Ivy
???? 3 @com/groupbyinc/flux/common/apache/lucene/search/BlendedTermQuery 5com/groupbyinc/flux/common/apache/lucene/search/Query BlendedTermQuery.java Vcom/groupbyinc/flux/common/apache/lucene/search/BlendedTermQuery$DisjunctionMaxRewrite DisjunctionMaxRewrite Ncom/groupbyinc/flux/common/apache/lucene/search/BlendedTermQuery$RewriteMethod
RewriteMethod Hcom/groupbyinc/flux/common/apache/lucene/search/BlendedTermQuery$Builder Builder Bcom/groupbyinc/flux/common/apache/lucene/search/BlendedTermQuery$2 Bcom/groupbyinc/flux/common/apache/lucene/search/BlendedTermQuery$1 BOOLEAN_REWRITE PLcom/groupbyinc/flux/common/apache/lucene/search/BlendedTermQuery$RewriteMethod; DISJUNCTION_MAX_REWRITE terms 6[Lcom/groupbyinc/flux/common/apache/lucene/index/Term; boosts [F contexts =[Lcom/groupbyinc/flux/common/apache/lucene/index/TermContext;
rewriteMethod $assertionsDisabled Z ?([Lcom/groupbyinc/flux/common/apache/lucene/index/Term;[F[Lcom/groupbyinc/flux/common/apache/lucene/index/TermContext;Lcom/groupbyinc/flux/common/apache/lucene/search/BlendedTermQuery$RewriteMethod;)V ()V !
" $ java/lang/AssertionError &
' " , . 0 2 ?(Lcom/groupbyinc/flux/common/apache/lucene/search/BlendedTermQuery;[Lcom/groupbyinc/flux/common/apache/lucene/index/Term;[Lcom/groupbyinc/flux/common/apache/lucene/index/TermContext;[F)V 4
5 sort (II)V 7 8
9 this BLcom/groupbyinc/flux/common/apache/lucene/search/BlendedTermQuery; equals (Ljava/lang/Object;)Z = >
? java/util/Arrays A )([Ljava/lang/Object;[Ljava/lang/Object;)Z = C
B D ([F[F)Z = F
B G java/lang/Object I
J ? obj Ljava/lang/Object; that hashCode ()I O P
Q ([Ljava/lang/Object;)I O S
B T ([F)I O V
B W
J Q h I toString &(Ljava/lang/String;)Ljava/lang/String; java/lang/StringBuilder ^ Blended( ` (Ljava/lang/String;)V b
_ c e append -(Ljava/lang/String;)Ljava/lang/StringBuilder; g h
_ i 9com/groupbyinc/flux/common/apache/lucene/search/TermQuery k 8(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)V m
l n :com/groupbyinc/flux/common/apache/lucene/search/BoostQuery p ;(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;F)V r
q s \ ]
u ) w getBoost ()F y z
{ ;com/groupbyinc/flux/common/apache/lucene/util/ToStringUtils } boost (F)Ljava/lang/String; ?
~ ? ()Ljava/lang/String; \ ?
_ ? termQuery 7Lcom/groupbyinc/flux/common/apache/lucene/search/Query; i field Ljava/lang/String; builder Ljava/lang/StringBuilder; rewrite u(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; java/io/IOException ? ? ?
? copyOf )([Ljava/lang/Object;I)[Ljava/lang/Object; ? ?
B ? :com/groupbyinc/flux/common/apache/lucene/index/TermContext ? topReaderContext CLcom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext; ? ? ? ? :com/groupbyinc/flux/common/apache/lucene/index/IndexReader ?
getContext E()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext; ? ?
? ? build ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext;Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)Lcom/groupbyinc/flux/common/apache/lucene/index/TermContext; ? ?
? ? docFreq ? P
? ? java/lang/Math ? max (II)I ? ?
? ?
totalTermFreq ()J ? ?
? ????????? adjustFrequencies |(Lcom/groupbyinc/flux/common/apache/lucene/index/TermContext;IJ)Lcom/groupbyinc/flux/common/apache/lucene/index/TermContext; ? ?
? 8[Lcom/groupbyinc/flux/common/apache/lucene/search/Query; ? t(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;Lcom/groupbyinc/flux/common/apache/lucene/index/TermContext;)V ?
l ? q([Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; ? ?
? ctx