Class AllGroupHeadsCollector<T>

java.lang.Object
org.apache.lucene.search.SimpleCollector
org.apache.lucene.search.grouping.AllGroupHeadsCollector<T>
All Implemented Interfaces:
Collector, LeafCollector
Direct Known Subclasses:
AllGroupHeadsCollector.ScoringGroupHeadsCollector, AllGroupHeadsCollector.SortingGroupHeadsCollector

public abstract class AllGroupHeadsCollector<T> extends SimpleCollector
This collector specializes in collecting the most relevant document (group head) for each group that matches the query.

Clients should create new collectors by calling newCollector(GroupSelector, Sort)