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 TypeMethodDescriptionboolean
Whether 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:GroupReducer
Whether or not this reducer requires collected documents to be scored- Specified by:
needsScores
in classGroupReducer<T,
DistinctValuesCollector.ValuesCollector<R>>
-
newCollector
Description copied from class:GroupReducer
Creates a new Collector for each group- Specified by:
newCollector
in classGroupReducer<T,
DistinctValuesCollector.ValuesCollector<R>>
-