Class LambdaTTF
- java.lang.Object
-
- org.apache.lucene.search.similarities.Lambda
-
- org.apache.lucene.search.similarities.LambdaTTF
-
public class LambdaTTF extends Lambda
Computes lambda astotalTermFreq+1 / numberOfDocuments+1
.
-
-
Constructor Summary
Constructors Constructor Description LambdaTTF()
Sole constructor: parameter-free
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Explanation
explain(BasicStats stats)
Explains the lambda parameter.float
lambda(BasicStats stats)
Computes the lambda parameter.String
toString()
Subclasses must override this method to return the code of the lambda formula.
-
-
-
Method Detail
-
lambda
public final float lambda(BasicStats stats)
Description copied from class:Lambda
Computes the lambda parameter.
-
explain
public final Explanation explain(BasicStats stats)
Description copied from class:Lambda
Explains the lambda parameter.
-
-