Module org.apache.lucene.grouping
Class DistinctValuesCollector.DistinctValuesReducer<T,R>
java.lang.Object
org.apache.lucene.search.grouping.GroupReducer<T,DistinctValuesCollector.ValuesCollector<R>>
org.apache.lucene.search.grouping.DistinctValuesCollector.DistinctValuesReducer<T,R>
- Enclosing class:
DistinctValuesCollector<T,R>
private static class DistinctValuesCollector.DistinctValuesReducer<T,R>
extends GroupReducer<T,DistinctValuesCollector.ValuesCollector<R>>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether or not this reducer requires collected documents to be scoredprotected DistinctValuesCollector.ValuesCollector<R> Creates a new Collector for each groupMethods inherited from class org.apache.lucene.search.grouping.GroupReducer
collect, getCollector, setGroups, setNextReader, setScorer
-
Field Details
-
valueSelector
-
-
Constructor Details
-
DistinctValuesReducer
-
-
Method Details
-
needsScores
public boolean needsScores()Description copied from class:GroupReducerWhether or not this reducer requires collected documents to be scored- Specified by:
needsScoresin classGroupReducer<T,DistinctValuesCollector.ValuesCollector<R>>
-
newCollector
Description copied from class:GroupReducerCreates a new Collector for each group- Specified by:
newCollectorin classGroupReducer<T,DistinctValuesCollector.ValuesCollector<R>>
-