Class LambdaDF
- java.lang.Object
-
- org.apache.lucene.search.similarities.Lambda
-
- org.apache.lucene.search.similarities.LambdaDF
-
public class LambdaDF extends Lambda
Computes lambda asdocFreq+1 / numberOfDocuments+1.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Constructor Summary
Constructors Constructor Description LambdaDF()Sole constructor: parameter-free
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Explanationexplain(BasicStats stats)Explains the lambda parameter.floatlambda(BasicStats stats)Computes the lambda parameter.StringtoString()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:LambdaComputes the lambda parameter.
-
explain
public final Explanation explain(BasicStats stats)
Description copied from class:LambdaExplains the lambda parameter.
-
-