Class DistributionLL
- java.lang.Object
- 
- org.apache.lucene.search.similarities.Distribution
- 
- org.apache.lucene.search.similarities.DistributionLL
 
 
- 
 public class DistributionLL extends Distribution Log-logistic distribution.Unlike for DFR, the natural logarithm is used, as it is faster to compute and the original paper does not express any preference to a specific base. - WARNING: This API is experimental and might change in incompatible ways in the next release.
 
- 
- 
Constructor SummaryConstructors Constructor Description DistributionLL()Sole constructor: parameter-free
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description doublescore(BasicStats stats, double tfn, double lambda)Computes the score.StringtoString()Subclasses must override this method to return the name of the distribution.- 
Methods inherited from class org.apache.lucene.search.similarities.Distributionexplain
 
- 
 
- 
- 
- 
Method Detail- 
scorepublic final double score(BasicStats stats, double tfn, double lambda) Description copied from class:DistributionComputes the score.- Specified by:
- scorein class- Distribution
 
 - 
toStringpublic String toString() Description copied from class:DistributionSubclasses must override this method to return the name of the distribution.- Specified by:
- toStringin class- Distribution
 
 
- 
 
-