All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.common.apache.lucene.search.similarities.BM25Similarity.class Maven / Gradle / Ivy

????4pKcom/groupbyinc/flux/common/apache/lucene/search/similarities/BM25SimilarityGcom/groupbyinc/flux/common/apache/lucene/search/similarities/SimilarityBM25Similarity.javaUcom/groupbyinc/flux/common/apache/lucene/search/similarities/BM25Similarity$BM25Stats	BM25StatsYcom/groupbyinc/flux/common/apache/lucene/search/similarities/BM25Similarity$BM25DocScorer	
BM25DocScorerQcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity$SimWeight	SimWeightQcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity$SimScorer	SimScorerk1FbdiscountOverlapsZOLD_LENGTH_TABLE[FLENGTH_TABLE(FF)V()V
	java/lang/Float!isFinite(F)Z#$
"%"java/lang/IllegalArgumentException'java/lang/StringBuilder)
*illegal k1 value: ,append-(Ljava/lang/String;)Ljava/lang/StringBuilder;./
*0(F)Ljava/lang/StringBuilder;.2
*3%, must be a non-negative finite value5toString()Ljava/lang/String;78
*9(Ljava/lang/String;)V;
(<isNaN>$
"?illegal b value: A, must be between 0 and 1C	E	GthisMLcom/groupbyinc/flux/common/apache/lucene/search/similarities/BM25Similarity;?????@
Midf(JJ)F??java/lang/MathSlog(D)DUV
TWdocFreqJdocCount
sloppyFreq(I)FdistanceIscorePayload>(IIILcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Fdocstartendpayload8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;avgFieldLengthI(Lcom/groupbyinc/flux/common/apache/lucene/search/CollectionStatistics;)FDcom/groupbyinc/flux/common/apache/lucene/search/CollectionStatisticsisumTotalTermFreq()Jkl
jm[l
jo????????maxDocsl
jtcollectionStatsFLcom/groupbyinc/flux/common/apache/lucene/search/CollectionStatistics;setDiscountOverlaps(Z)VvgetDiscountOverlaps()ZcomputeNormD(Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInvertState;)J?com/groupbyinc/flux/common/apache/lucene/index/FieldInvertState	getLength()I??
??
getNumOverlap??
??getIndexCreatedVersionMajor??
??8com/groupbyinc/flux/common/apache/lucene/util/SmallFloat?
intToByte4(I)B??
??sqrt?V
T?floatToByte315(F)B??
??stateALcom/groupbyinc/flux/common/apache/lucene/index/FieldInvertState;numTermsindexCreatedVersionMajor
idfExplain?(Lcom/groupbyinc/flux/common/apache/lucene/search/CollectionStatistics;Lcom/groupbyinc/flux/common/apache/lucene/search/TermStatistics;)Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation;>com/groupbyinc/flux/common/apache/lucene/search/TermStatistics?Yl
??OP
?Lidf, computed as log(1 + (docCount - docFreq + 0.5) / (docFreq + 0.5)) from:?;com/groupbyinc/flux/common/apache/lucene/search/Explanation?Ymatch?(FLjava/lang/String;[Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation;)Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation;??
??[	termStats@Lcom/groupbyinc/flux/common/apache/lucene/search/TermStatistics;df?(Lcom/groupbyinc/flux/common/apache/lucene/search/CollectionStatistics;[Lcom/groupbyinc/flux/common/apache/lucene/search/TermStatistics;)Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation;java/util/ArrayList?
?A[Lcom/groupbyinc/flux/common/apache/lucene/search/TermStatistics;?java/util/List???
?add(Ljava/lang/Object;)Z????getValue()F??
??idf(), sum of:?h(FLjava/lang/String;Ljava/util/Collection;)Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation;??
??=Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation;statDdetailsOLjava/util/List;Ljava/util/List;
computeWeight?(FLcom/groupbyinc/flux/common/apache/lucene/search/CollectionStatistics;[Lcom/groupbyinc/flux/common/apache/lucene/search/TermStatistics;)Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity$SimWeight;??
?gh
?	?	?field?8
j?X(Ljava/lang/String;FLcom/groupbyinc/flux/common/apache/lucene/search/Explanation;F[F[F)V?
?iboostavgdloldCachecache	simScorer?(Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity$SimWeight;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity$SimScorer;java/io/IOException?@com/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext?reader=()Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;??
??9com/groupbyinc/flux/common/apache/lucene/index/LeafReader?getMetaData?()Lcom/groupbyinc/flux/common/apache/lucene/index/LeafMetaData;??
??;com/groupbyinc/flux/common/apache/lucene/index/LeafMetaData?getCreatedVersionMajor??
??
access$000k(Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/BM25Similarity$BM25Stats;)Ljava/lang/String;??
?
getNormValuesU(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/index/NumericDocValues;??
???(Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/BM25Similarity;Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/BM25Similarity$BM25Stats;ILcom/groupbyinc/flux/common/apache/lucene/index/NumericDocValues;)V

statsSLcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity$SimWeight;contextBLcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;	bm25statsWLcom/groupbyinc/flux/common/apache/lucene/search/similarities/BM25Similarity$BM25Stats;
explainTFNorm(ILcom/groupbyinc/flux/common/apache/lucene/search/Explanation;Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/BM25Similarity$BM25Stats;Lcom/groupbyinc/flux/common/apache/lucene/index/NumericDocValues;[F)Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation;parameter k1%parameter b (norms omitted for field)9tfNorm, computed as (freq * (k1 + 1)) / (freq + k1) from:?com/groupbyinc/flux/common/apache/lucene/index/NumericDocValuesadvanceExact(I)Z
	longValuel
parameter b
access$800Z(Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/BM25Similarity$BM25Stats;)F
gfieldLength"ftfNorm, computed as (freq * (k1 + 1)) / (freq + k1 * (1 - b + b * fieldLength / avgFieldLength)) from:$normBdoclenfreqnormsALcom/groupbyinc/flux/common/apache/lucene/index/NumericDocValues;lengthCachesubsexplainScore
access$900/
0?access$1000?(Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/BM25Similarity$BM25Stats;)Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation;34
5

7
score(doc=9(I)Ljava/lang/StringBuilder;.;
*<,freq=>-(Ljava/lang/Object;)Ljava/lang/StringBuilder;.@
*A), product of:C	boostExpl
tfNormExplBM25(k1=G,b=I)KgetK1getB
access$200P(Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/BM25Similarity;)Fx0
access$300()[F
access$500
access$700d(Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/BM25Similarity;ILcom/groupbyinc/flux/common/apache/lucene/search/Explanation;Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/BM25Similarity$BM25Stats;Lcom/groupbyinc/flux/common/apache/lucene/index/NumericDocValues;[F)Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation;.
Wx1x2x3x4x5byte315ToFloat(B)F_`
?a
byte4ToInt(B)Icd
?efCodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTable
Exceptions
SourceFileInnerClasses!h?t*?*? #?&?	#??#?(Y?*Y?+-?1#?46?1?:?=?$?@?$??	$??#?(Y?*Y?+B?1$?4D?1?:?=?*#?F*$?H?i tIJttj&	2g	3466I7i9n:s;k?h7	*KL?N?i	IJj
DEOPhT!e?Qc?Qcoc?X??i IJYZ[ZjI\]h;`?n?iIJ^_jN`ahT?i4IJb_c_d_efjSghh?-+?nA 	???+?pq??
+?u?+?p7 ??o??i*%[Z-IJ-vw(kZjZ[\
^%_k	?
Cxyh>*? ?iIJzj
mn{|h/*? ?iIJju}~h?6*? ?+??+??d?+??=+??>?	???????o?????i*6IJ6???_?_j???#?)?k
C???h?O,??B+?pq??
+?u?+?p7*!??8???Y!??????SY??????S???i>OIJOvwO??J?Z2[Z&)Oj???&?8?G?K?k?C??hPJ??Y??:,:?66?,2:	*+	??:

??W)
?cJ????)???ǰiH-??
$??	PIJPvwP??NO?E??lE??j"???$?-?7?@?F?k?j????/???hX	?-??*,-2???	*,-??:*,??8?:?:6??G*?F*?Hf*?H??0jnbjQ*?F*?Hf*?H??0jnbjQ?????Y,??#?ްi\	1L?_?IJ???vw???yO? r?'k?.d?j&	?? ?'?.?9?X?w?}?k&E??	j?????K??hp$+?N?
Y*-,?????,??-?????i*$IJ$$	j
??m?
h?	??Y??:,??W*?F
??????W?4??????W,??*?Fbj,??*?Fbn?ǰ?????6?6?~08*?H??????W-? !??????W#??????W,??*?Fbj,??*?F*?Hf*?Hj-? nbjbn%?ǰif
p&'v}&'?r(?IJ?b_?)??	?*+?,	?-?l	?-?jJ2	34(5-6@7A8Z7^<g=s?vA?B?C?D?E?F?Ek
?^??m?.hN	?-?12????:??Y??:????
??W-?6??W*,-?8:??W??-?6??j??j?*Y?+:?1?=??1,?BD?1?:?ǰi\	?IJ?b_?)??	?*+?,}E?t-?FGF?lt-?j*
LMN#O-P9QFRPSRT?Sk?-??m?78hU+?*Y?+H?1*?F?4J?1*?H?4L?1?:?i+IJjZM?h/*?F?iIJjbN?h/*?H?iIJjjOPh/*?F?iQJj'RSh?ذj'TSh?ְj'UVhh*,-?X?i>QJY_Z?[	\+]j'm?^h?X??????;???bD??##jnQ????????0nQ;?????f?Q????i 
g?_??_j.yz}~)}/?=?F?Q?W?k????no"


		




© 2015 - 2025 Weber Informatics LLC | Privacy Policy