com.groupbyinc.flux.common.apache.lucene.misc.SweetSpotSimilarity.class Maven / Gradle / Ivy
???? 4 ? Acom/groupbyinc/flux/common/apache/lucene/misc/SweetSpotSimilarity Ncom/groupbyinc/flux/common/apache/lucene/search/similarities/ClassicSimilarity SweetSpotSimilarity.java ln_min I ln_max ln_steep F tf_base tf_min tf_hyper_min tf_hyper_max
tf_hyper_base D tf_hyper_xoffset ()V
?
!
#???????? 'A
* this CLcom/groupbyinc/flux/common/apache/lucene/misc/SweetSpotSimilarity; setBaselineTfFactors (FF)V base min setHyperbolicTfFactors (FFDF)V max xoffset setLengthNormFactors (IIFZ)V discountOverlaps Z 8 9 : steepness
lengthNorm (I)F java/lang/Math ? abs (I)I A B
@ C sqrt (D)D E F
@ G numTerms l h s tf (F)F
baselineTf O N
P freq hyperbolicTf pow (DD)D T U
@ V java/lang/Float X isNaN (F)Z Z [
Y \ x result toString ()Ljava/lang/String; java/lang/StringBuilder b
c SweetSpotSimilarity e append -(Ljava/lang/String;)Ljava/lang/StringBuilder; g h
c i ( k ln_min= m (I)Ljava/lang/StringBuilder; g o
c p , r ` a
c t ln_max= v ln_steep= x (F)Ljava/lang/StringBuilder; g z
c { tf_base= } tf_min=
tf_hyper_min= ?
tf_hyper_max= ? tf_hyper_base= ? (D)Ljava/lang/StringBuilder; g ?
c ? tf_hyper_xoffset= ? ) ? sb Ljava/lang/StringBuilder; Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile !
? ? 6*? *? *? *? *? *? *? "*
? $* %? (*)? +? ? 6 , - ? . 6 ) * + - . 0 # 1 ( 2 / 3 5 7 . / ? Q *$? *#? ? ? , - 0
1
? ? @
A 2 3 ? x *#? "*$? $*)? (*? +? ? 4 , - 1
4
0 5
? N O
P Q R 6 7 ? x *? *? *%? *? ;? ? 4 , - 1 4 <