Modifier and Type | Class and Description |
---|---|
class |
TermAllGroupHeadsCollector<GH extends AbstractAllGroupHeadsCollector.GroupHead>
A base implementation of
AbstractAllGroupHeadsCollector for retrieving the most relevant groups when grouping
on a string based group field. |
Modifier and Type | Method and Description |
---|---|
static AbstractAllGroupHeadsCollector |
TermAllGroupHeadsCollector.create(String groupField,
org.apache.lucene.search.Sort sortWithinGroup)
Creates an
AbstractAllGroupHeadsCollector instance based on the supplied arguments. |
static AbstractAllGroupHeadsCollector |
TermAllGroupHeadsCollector.create(String groupField,
org.apache.lucene.search.Sort sortWithinGroup,
int initialSize)
Creates an
AbstractAllGroupHeadsCollector instance based on the supplied arguments. |