Class AllGroupHeadsCollector<T>

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

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)

WARNING: This API is experimental and might change in incompatible ways in the next release.