Class CollectionStatistics
Contains statistics for a collection (field)
Note
This API is experimental and might change in incompatible ways in the next release.
Inheritance
System.Object
CollectionStatistics
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 CollectionStatistics
Constructors
| Improve this Doc View SourceCollectionStatistics(String, Int64, Int64, Int64, Int64)
Sole constructor.
Declaration
public CollectionStatistics(string field, long maxDoc, long docCount, long sumTotalTermFreq, long sumDocFreq)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | |
System.Int64 | maxDoc | |
System.Int64 | docCount | |
System.Int64 | sumTotalTermFreq | |
System.Int64 | sumDocFreq |
Properties
| Improve this Doc View SourceDocCount
Returns the total number of documents that have at least one term for this field.
Declaration
public long DocCount { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
See Also
| Improve this Doc View SourceField
Returns the field name
Declaration
public string Field { get; }
Property Value
Type | Description |
---|---|
System.String |
MaxDoc
Returns the total number of documents, regardless of whether they all contain values for this field.
Declaration
public long MaxDoc { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
See Also
| Improve this Doc View SourceSumDocFreq
Returns the total number of postings for this field
Declaration
public long SumDocFreq { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
See Also
| Improve this Doc View SourceSumTotalTermFreq
Returns the total number of tokens for this field
Declaration
public long SumTotalTermFreq { get; }
Property Value
Type | Description |
---|---|
System.Int64 |