Module org.apache.lucene.grouping
Class AllGroupHeadsCollector.ScoringGroupHeadsCollector<T>
java.lang.Object
org.apache.lucene.search.SimpleCollector
org.apache.lucene.search.grouping.AllGroupHeadsCollector<T>
org.apache.lucene.search.grouping.AllGroupHeadsCollector.ScoringGroupHeadsCollector<T>
- All Implemented Interfaces:
Collector,LeafCollector
- Enclosing class:
AllGroupHeadsCollector<T>
private static class AllGroupHeadsCollector.ScoringGroupHeadsCollector<T>
extends AllGroupHeadsCollector<T>
Specialized implementation for sorting by score
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.search.grouping.AllGroupHeadsCollector
AllGroupHeadsCollector.GroupHead<T> -
Field Summary
Fields inherited from class org.apache.lucene.search.grouping.AllGroupHeadsCollector
compIDXEnd, context, heads, reversed, scorer, sort -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedScoringGroupHeadsCollector(GroupSelector<T> selector, Sort sort) -
Method Summary
Modifier and TypeMethodDescriptionprotected AllGroupHeadsCollector.GroupHead<T> newGroupHead(int doc, T value, LeafReaderContext context, Scorable scorer) Create a new GroupHead for the given group value, initialized with a doc, context and scorerMethods inherited from class org.apache.lucene.search.grouping.AllGroupHeadsCollector
collect, doSetNextReader, getCollectedGroupHeads, groupHeadsSize, newCollector, retrieveGroupHeads, retrieveGroupHeads, scoreMode, setScorerMethods inherited from class org.apache.lucene.search.SimpleCollector
getLeafCollectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.lucene.search.LeafCollector
collect, competitiveIterator, finish
-
Constructor Details
-
ScoringGroupHeadsCollector
-
-
Method Details
-
newGroupHead
protected AllGroupHeadsCollector.GroupHead<T> newGroupHead(int doc, T value, LeafReaderContext context, Scorable scorer) throws IOException Description copied from class:AllGroupHeadsCollectorCreate a new GroupHead for the given group value, initialized with a doc, context and scorer- Specified by:
newGroupHeadin classAllGroupHeadsCollector<T>- Throws:
IOException
-