Class TermStats
Holder for per-term statistics.
Inheritance
System.Object
TermStats
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Codecs
Assembly: Lucene.Net.dll
Syntax
public class TermStats
Constructors
| Improve this Doc View SourceTermStats(Int32, Int64)
Sole constructor.
Declaration
public TermStats(int docFreq, long totalTermFreq)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | docFreq | |
System.Int64 | totalTermFreq |
Properties
| Improve this Doc View SourceDocFreq
How many documents have at least one occurrence of this term.
Declaration
public int DocFreq { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
TotalTermFreq
Total number of times this term occurs across all documents in the field.
Declaration
public long TotalTermFreq { get; }
Property Value
Type | Description |
---|---|
System.Int64 |