Interface IAbstractAllGroupsCollector<TGroupValue>
LUCENENET specific interface used to apply covariance to TGroupValue
Inherited Members
ICollector.SetScorer(Scorer)
ICollector.SetNextReader(AtomicReaderContext)
ICollector.AcceptsDocsOutOfOrder
Namespace: Lucene.Net.Search.Grouping
Assembly: Lucene.Net.Grouping.dll
Syntax
public interface IAbstractAllGroupsCollector<out TGroupValue> : ICollector
Type Parameters
Name | Description |
---|---|
TGroupValue |
Properties
GroupCount
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 |
---|---|
int | 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 Lucene.Net.Util.BytesRef representing a group value.
Declaration
IEnumerable<out TGroupValue> Groups { get; }
Property Value
Type | Description |
---|---|
IEnumerable<TGroupValue> | the group values |