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
GroupSort
How groups are sorted against each other
Declaration
SortField[] GroupSort { get; }
Property Value
| Type | Description |
|---|---|
| SortField[] |
Groups
Group results in groupSort order
Declaration
IGroupDocs<out TGroupValue>[] Groups { get; }
Property Value
| Type | Description |
|---|---|
| IGroupDocs<TGroupValue>[] |
MaxScore
Highest score across all hits, or NaN if scores were not computed.
Declaration
float MaxScore { get; }
Property Value
| Type | Description |
|---|---|
| float |
TotalGroupCount
The total number of unique groups. If null this value is not computed.
Declaration
int? TotalGroupCount { get; }
Property Value
| Type | Description |
|---|---|
| int? |
TotalGroupedHitCount
Number of documents grouped into the topN groups
Declaration
int TotalGroupedHitCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
TotalHitCount
Number of documents matching the search
Declaration
int TotalHitCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
WithinGroupSort
How docs are sorted within each group
Declaration
SortField[] WithinGroupSort { get; }
Property Value
| Type | Description |
|---|---|
| SortField[] |