Class TermStats
Holder for per-term statistics.
Inheritance
System.Object
TermStats
Namespace: Lucene.Net.Codecs
Assembly: Lucene.Net.dll
Syntax
public class TermStats : object
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 |