public abstract class AbstractDistinctValuesCollector<GC extends AbstractDistinctValuesCollector.GroupCount<?>> extends SimpleCollector
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractDistinctValuesCollector.GroupCount<GROUP_VALUE_TYPE>
Returned by
getGroups(),
representing the value and set of distinct values for the group. |
| Constructor and Description |
|---|
AbstractDistinctValuesCollector() |
| Modifier and Type | Method and Description |
|---|---|
abstract List<GC> |
getGroups()
Returns all unique values for each top N group.
|
boolean |
needsScores()
Indicates if document scores are needed by this collector.
|
collect, doSetNextReader, getLeafCollector, setScorerpublic abstract List<GC> getGroups()
public boolean needsScores()
Collectortrue if scores are needed.Copyright © 2000–2016 The Apache Software Foundation. All rights reserved.