Class IndependenceSaturated
java.lang.Object
org.apache.lucene.search.similarities.Independence
org.apache.lucene.search.similarities.IndependenceSaturated
Saturated measure of distance from independence
Described 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
-
Method Summary
-
Constructor Details
-
IndependenceSaturated
public IndependenceSaturated()Sole constructor.
-
-
Method Details
-
score
public double score(double freq, double expected) Description copied from class:Independence
Computes distance from independence- Specified by:
score
in classIndependence
- Parameters:
freq
- actual term frequencyexpected
- expected term frequency
-
toString
- Specified by:
toString
in classIndependence
-