Interface IAbstractFirstPassGroupingCollector<TGroupValue>
LUCENENET specific interface used to apply covariance to TGroupValue to simulate Java's wildcard generics.
Inherited Members
Namespace: Lucene.Net.Search.Grouping
Assembly: Lucene.Net.Grouping.dll
Syntax
public interface IAbstractFirstPassGroupingCollector<out TGroupValue> : ICollector
Type Parameters
Name | Description |
---|---|
TGroupValue |
Methods
| Improve this Doc View SourceGetTopGroups(Int32, Boolean)
Returns top groups, starting from offset. This may return null, if no groups were collected, or if the number of unique groups collected is <= offset.
Declaration
IEnumerable<ISearchGroup<TGroupValue>> GetTopGroups(int groupOffset, bool fillFields)
Parameters
Type | Name | Description |
---|---|---|
System. |
groupOffset | The offset in the collected groups |
System. |
fillFields | Whether to fill to Sort |
Returns
Type | Description |
---|---|
IEnumerable<ISearch |
top groups, starting from offset |
Remarks
LUCENENET NOTE: We must use