Class TermStatistics
Contains statistics for a specific term
Note
This API is experimental and might change in incompatible ways in the next release.
Inherited Members
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public class TermStatistics
Constructors
TermStatistics(BytesRef, long, long)
Sole constructor.
Declaration
public TermStatistics(BytesRef term, long docFreq, long totalTermFreq)
Parameters
| Type | Name | Description |
|---|---|---|
| BytesRef | term | |
| long | docFreq | |
| long | totalTermFreq |
Properties
DocFreq
Returns the number of documents this term occurs in
Declaration
public long DocFreq { get; }
Property Value
| Type | Description |
|---|---|
| long |
See Also
Term
Returns the term text
Declaration
public BytesRef Term { get; }
Property Value
| Type | Description |
|---|---|
| BytesRef |
TotalTermFreq
Returns the total number of occurrences of this term
Declaration
public long TotalTermFreq { get; }
Property Value
| Type | Description |
|---|---|
| long |