private static class AllGroupHeadsCollector.SortingGroupHeadsCollector<T> extends AllGroupHeadsCollector<T>
FieldComparator to select the group headAllGroupHeadsCollector.GroupHead<T>compIDXEnd, context, heads, reversed, scorer, sort| Modifier | Constructor and Description |
|---|---|
protected |
SortingGroupHeadsCollector(GroupSelector<T> selector,
Sort sort) |
| Modifier and Type | Method and Description |
|---|---|
protected AllGroupHeadsCollector.GroupHead<T> |
newGroupHead(int doc,
T value,
LeafReaderContext ctx,
Scorable scorer)
Create a new GroupHead for the given group value, initialized with a doc, context and scorer
|
collect, doSetNextReader, getCollectedGroupHeads, groupHeadsSize, newCollector, retrieveGroupHeads, retrieveGroupHeads, scoreMode, setScorergetLeafCollectorprotected SortingGroupHeadsCollector(GroupSelector<T> selector, Sort sort)
protected AllGroupHeadsCollector.GroupHead<T> newGroupHead(int doc, T value, LeafReaderContext ctx, Scorable scorer) throws java.io.IOException
AllGroupHeadsCollectornewGroupHead in class AllGroupHeadsCollector<T>java.io.IOException