public abstract class DistinctValuesCollector<T> extends SimpleCollector
Modifier and Type | Class and Description |
---|---|
static class |
DistinctValuesCollector.GroupCount<T>
Returned by
getGroups() ,
representing the value and set of distinct values for the group. |
Constructor and Description |
---|
DistinctValuesCollector() |
Modifier and Type | Method and Description |
---|---|
abstract List<DistinctValuesCollector.GroupCount<T>> |
getGroups()
Returns all unique values for each top N group.
|
boolean |
needsScores() |
collect, doSetNextReader, getLeafCollector, setScorer
public abstract List<DistinctValuesCollector.GroupCount<T>> getGroups()
public boolean needsScores()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.