Class TermStatistics
Contains statistics for a specific term
Note
This API is experimental and might change in incompatible ways in the next release.
Inheritance
System.Object
TermStatistics
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.Search
Assembly: Lucene.Net.dll
Syntax
public class TermStatistics
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 |