Class IndependenceSaturated
- java.lang.Object
-
- org.apache.lucene.search.similarities.Independence
-
- org.apache.lucene.search.similarities.IndependenceSaturated
-
public class IndependenceSaturated extends Independence
Saturated measure of distance from independenceDescribed as: "for tasks that require high recall against long queries"
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Constructor Summary
Constructors Constructor Description IndependenceSaturated()Sole constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublescore(double freq, double expected)Computes distance from independenceStringtoString()
-
-
-
Method Detail
-
score
public double score(double freq, double expected)Description copied from class:IndependenceComputes distance from independence- Specified by:
scorein classIndependence- Parameters:
freq- actual term frequencyexpected- expected term frequency
-
toString
public String toString()
- Specified by:
toStringin classIndependence
-
-