Class TermStats
Holder for per-term statistics.
Inherited Members
Namespace: Lucene.Net.Codecs
Assembly: Lucene.Net.dll
Syntax
public class TermStats
Constructors
TermStats(int, long)
Sole constructor.
Declaration
public TermStats(int docFreq, long totalTermFreq)
Parameters
Type | Name | Description |
---|---|---|
int | docFreq | |
long | totalTermFreq |
See Also
Properties
DocFreq
How many documents have at least one occurrence of this term.
Declaration
public int DocFreq { get; }
Property Value
Type | Description |
---|---|
int |
See Also
TotalTermFreq
Total number of times this term occurs across all documents in the field.
Declaration
public long TotalTermFreq { get; }
Property Value
Type | Description |
---|---|
long |