Class AbstractSecondPassGroupingCollector<TGroupValue>
SecondPassGroupingCollector is the second of two passes necessary to collect grouped docs. This pass gathers the top N documents per top group computed from the first pass. Concrete subclasses define what a group is and how it is internally collected.
See org.apache.lucene.search.grouping for more details including a full code example.
@lucene.experimentalInheritance
System.Object
AbstractSecondPassGroupingCollector<TGroupValue>
Assembly: Lucene.Net.Grouping.dll
Syntax
public abstract class AbstractSecondPassGroupingCollector<TGroupValue> : object, IAbstractSecondPassGroupingCollector<TGroupValue>, ICollector
Type Parameters
Name | Description |
---|---|
TGroupValue |
Constructors
Name | Description |
---|---|
AbstractSecondPassGroupingCollector(IEnumerable<ISearchGroup<TGroupValue>>, Sort, Sort, Int32, Boolean, Boolean, Boolean) |
Fields
Name | Description |
---|---|
m_groupDocs | |
m_groupMap |
Properties
Name | Description |
---|---|
AcceptsDocsOutOfOrder |
Methods
Name | Description |
---|---|
Collect(Int32) | |
GetTopGroups(Int32) | |
RetrieveGroup(Int32) | Returns the group the specified doc belongs to or |
SetNextReader(AtomicReaderContext) | |
SetScorer(Scorer) |