Package | Description |
---|---|
org.apache.lucene.search.grouping |
Grouping.
|
Modifier and Type | Class and Description |
---|---|
class |
TermGroupSelector
A GroupSelector implementation that groups via SortedDocValues
|
class |
ValueSourceGroupSelector
A GroupSelector that groups via a ValueSource
|
Modifier and Type | Field and Description |
---|---|
private GroupSelector |
GroupingSearch.grouper |
private GroupSelector<T> |
AllGroupsCollector.groupSelector |
private GroupSelector<T> |
FirstPassGroupingCollector.groupSelector |
protected GroupSelector<T> |
SecondPassGroupingCollector.groupSelector |
private GroupSelector<T> |
AllGroupHeadsCollector.groupSelector |
(package private) GroupSelector<R> |
DistinctValuesCollector.ValuesCollector.valueSelector |
(package private) GroupSelector<R> |
DistinctValuesCollector.DistinctValuesReducer.valueSelector |
Modifier and Type | Method and Description |
---|---|
GroupSelector<T> |
FirstPassGroupingCollector.getGroupSelector() |
GroupSelector<T> |
SecondPassGroupingCollector.getGroupSelector() |
Modifier and Type | Method and Description |
---|---|
static <T> AllGroupHeadsCollector<T> |
AllGroupHeadsCollector.newCollector(GroupSelector<T> selector,
Sort sort)
Create a new AllGroupHeadsCollector based on the type of within-group Sort required
|
Constructor and Description |
---|
AllGroupHeadsCollector(GroupSelector<T> selector,
Sort sort) |
AllGroupsCollector(GroupSelector<T> groupSelector)
Create a new AllGroupsCollector
|
DistinctValuesCollector(GroupSelector<T> groupSelector,
java.util.Collection<SearchGroup<T>> groups,
GroupSelector<R> valueSelector)
Create a DistinctValuesCollector
|
DistinctValuesCollector(GroupSelector<T> groupSelector,
java.util.Collection<SearchGroup<T>> groups,
GroupSelector<R> valueSelector)
Create a DistinctValuesCollector
|
DistinctValuesReducer(GroupSelector<R> valueSelector) |
FirstPassGroupingCollector(GroupSelector<T> groupSelector,
Sort groupSort,
int topNGroups)
Create the first pass collector.
|
GroupingSearch(GroupSelector grouper,
Query groupEndDocs) |
ScoringGroupHeadsCollector(GroupSelector<T> selector,
Sort sort) |
SecondPassGroupingCollector(GroupSelector<T> groupSelector,
java.util.Collection<SearchGroup<T>> groups,
GroupReducer<T,?> reducer)
Create a new SecondPassGroupingCollector
|
SortingGroupHeadsCollector(GroupSelector<T> selector,
Sort sort) |
TopGroupsCollector(GroupSelector<T> groupSelector,
java.util.Collection<SearchGroup<T>> groups,
Sort groupSort,
Sort withinGroupSort,
int maxDocsPerGroup,
boolean getMaxScores)
Create a new TopGroupsCollector
|
ValuesCollector(GroupSelector<R> valueSelector) |