Class LMSimilarity.LMStats
Stores the collection distribution of the current term.
Inherited Members
Namespace: Lucene.Net.Search.Similarities
Assembly: Lucene.Net.dll
Syntax
public class LMSimilarity.LMStats : BasicStats
Constructors
LMStats(string, float)
Creates LMSimilarity.LMStats for the provided field and query-time boost
Declaration
public LMStats(string field, float queryBoost)
Parameters
Type | Name | Description |
---|---|---|
string | field | |
float | queryBoost |
Properties
CollectionProbability
Returns the probability that the current term is generated by the collection.
Declaration
public float CollectionProbability { get; set; }
Property Value
Type | Description |
---|---|
float |