public abstract class AbstractDistinctValuesCollector<GC extends AbstractDistinctValuesCollector.GroupCount<?>> extends Collector
| 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 |
|---|---|
boolean |
acceptsDocsOutOfOrder() |
abstract List<GC> |
getGroups()
Returns all unique values for each top N group.
|
void |
setScorer(Scorer scorer) |
collect, setNextReaderpublic abstract List<GC> getGroups()
public boolean acceptsDocsOutOfOrder()
acceptsDocsOutOfOrder in class Collectorpublic void setScorer(Scorer scorer) throws IOException
setScorer in class CollectorIOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.