Interface IAbstractAllGroupsCollector<TGroupValue>
LUCENENET specific interface used to apply covariance to TGroupValue
Inherited Members
Namespace: Lucene.Net.Search.Grouping
Assembly: Lucene.Net.Grouping.dll
Syntax
public interface IAbstractAllGroupsCollector<out TGroupValue> : ICollector
Type Parameters
Name | Description |
---|---|
TGroupValue |
Properties
| Improve this Doc View SourceGroupCount
Returns the total number of groups for the executed search. This is a convenience method. The following code snippet has the same effect:
GetGroups().Count
Declaration
int GroupCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The total number of groups for the executed search |
Groups
Returns the group values
This is an unordered collections of group values. For each group that matched the query there is a BytesRef representing a group value.
Declaration
IEnumerable<TGroupValue> Groups { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<TGroupValue> | the group values |