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, setNextReader
public abstract List<GC> getGroups()
public boolean acceptsDocsOutOfOrder()
acceptsDocsOutOfOrder
in class Collector
public void setScorer(Scorer scorer) throws IOException
setScorer
in class Collector
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.