Class AbstractAllGroupHeadsCollector<GH>
This collector specializes in collecting the most relevant document (group head) for each group that match the query.
@lucene.experimental
Inherited Members
Assembly: Lucene.Net.Grouping.dll
Syntax
public abstract class AbstractAllGroupHeadsCollector<GH> : AbstractAllGroupHeadsCollector, ICollector where GH : AbstractAllGroupHeadsCollector_GroupHead
Type Parameters
Name | Description |
---|---|
GH |
Constructors
Name | Description |
---|---|
AbstractAllGroupHeadsCollector(Int32) |
Fields
Name | Description |
---|---|
m_compIDXEnd | |
m_reversed | |
m_temporalResult |
Properties
Name | Description |
---|---|
AcceptsDocsOutOfOrder | |
CollectedGroupHeads | Returns the collected group heads. Subsequent calls should return the same group heads. |
GroupHeadsCount | The number of group heads found for a query. LUCENENET NOTE: This was groupHeadsSize() in Lucene |
Methods
Name | Description |
---|---|
Collect(Int32) | |
RetrieveGroupHeadAndAddIfNotExist(Int32) | Returns the group head and puts it into AbstractAllGroupHeadsCollector<GH>.TemporalResult. If the group head wasn't encountered before then it will be added to the collected group heads.
The Stop property will be |
RetrieveGroupHeads() | |
RetrieveGroupHeads(Int32) |