Interface ITopGroups<TGroupValue>
LUCENENET specific interface used to provide covariance with the TGroupValue type to simulate Java's wildcard generics.
Namespace: Lucene.Net.Search.Grouping
Assembly: Lucene.Net.Grouping.dll
Syntax
public interface ITopGroups<out TGroupValue>
Type Parameters
Name | Description |
---|---|
TGroupValue |
Properties
| Improve this Doc View SourceGroups
Group results in groupSort order
Declaration
IGroupDocs<TGroupValue>[] Groups { get; }
Property Value
Type | Description |
---|---|
IGroupDocs<TGroupValue>[] |
GroupSort
How groups are sorted against each other
Declaration
SortField[] GroupSort { get; }
Property Value
Type | Description |
---|---|
Lucene.Net.Search.SortField[] |
MaxScore
Highest score across all hits, or System.Single.NaN if scores were not computed.
Declaration
float MaxScore { get; }
Property Value
Type | Description |
---|---|
System.Single |
TotalGroupCount
The total number of unique groups. If null
this value is not computed.
Declaration
int? TotalGroupCount { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
TotalGroupedHitCount
Number of documents grouped into the topN groups
Declaration
int TotalGroupedHitCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
TotalHitCount
Number of documents matching the search
Declaration
int TotalHitCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
WithinGroupSort
How docs are sorted within each group
Declaration
SortField[] WithinGroupSort { get; }
Property Value
Type | Description |
---|---|
Lucene.Net.Search.SortField[] |