Interface IAbstractFirstPassGroupingCollector<TGroupValue>
LUCENENET specific interface used to apply covariance to TGroupValue to simulate Java's wildcard generics.
Inherited Members
      Lucene.Net.Search.ICollector.SetScorer(Lucene.Net.Search.Scorer)
    
    
    
      Lucene.Net.Search.ICollector.SetNextReader(Lucene.Net.Index.AtomicReaderContext)
    
    
      Lucene.Net.Search.ICollector.AcceptsDocsOutOfOrder
    
  Namespace: Lucene.Net.Search.Grouping
Assembly: Lucene.Net.Grouping.dll
Syntax
public interface IAbstractFirstPassGroupingCollector<out TGroupValue> : ICollectorType 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.Int32 | groupOffset | The offset in the collected groups | 
| System.Boolean | fillFields | Whether to fill to SortValues | 
Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.IEnumerable<ISearchGroup<TGroupValue>> | top groups, starting from offset | 
Remarks
LUCENENET NOTE: We must use System.Collections.Generic.IEnumerable<T> rather than System.Collections.Generic.ICollection<T> here because we need this to be covariant