Class TermAllGroupHeadsCollector
LUCENENET specific class used to mimic the synatax used to access static members of TermAllGroupHeadsCollector<GH> without specifying its generic closing type. (TermAllGroupHeadsCollector.Create() rather than TermAllGroupHeadsCollector{GH}.Create()).
Inheritance
Inherited Members
Namespace: Lucene.Net.Search.Grouping.Terms
Assembly: Lucene.Net.Grouping.dll
Syntax
public class TermAllGroupHeadsCollector
Methods
| Improve this Doc View SourceCreate(String, Sort)
Creates an Abstract
Delegates to Create(String, Sort, Int32) with an initialSize of 128.
Declaration
public static AbstractAllGroupHeadsCollector Create(string groupField, Sort sortWithinGroup)
Parameters
Type | Name | Description |
---|---|---|
System. |
groupField | The field to group by |
Sort | sortWithinGroup | The sort within each group |
Returns
Type | Description |
---|---|
Abstract |
an Abstract |
Create(String, Sort, Int32)
Creates an Abstract
Declaration
public static AbstractAllGroupHeadsCollector Create(string groupField, Sort sortWithinGroup, int initialSize)
Parameters
Type | Name | Description |
---|---|---|
System. |
groupField | The field to group by |
Sort | sortWithinGroup | The sort within each group |
System. |
initialSize | The initial allocation size of the internal int set and group list which should roughly match the total number of expected unique groups. Be aware that the heap usage is 4 bytes * initialSize. |
Returns
Type | Description |
---|---|
Abstract |
an Abstract |