Class TermStatistics
Contains statistics for a specific term
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
TermStatistics
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public class TermStatistics : object
Constructors
| Improve this Doc View SourceTermStatistics(BytesRef, Int64, Int64)
Sole constructor.
Declaration
public TermStatistics(BytesRef term, long docFreq, long totalTermFreq)
Parameters
Type | Name | Description |
---|---|---|
BytesRef | term | |
System.Int64 | docFreq | |
System.Int64 | totalTermFreq |
Properties
| Improve this Doc View SourceDocFreq
Returns the number of documents this term occurs in
Declaration
public long DocFreq { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
See Also
| Improve this Doc View SourceTerm
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 |
---|---|
System.Int64 |