public class TermsAggregatorFactory extends ValuesSourceAggregatorFactory
| Modifier and Type | Class and Description |
|---|---|
static class |
TermsAggregatorFactory.ExecutionMode |
ValuesSourceAggregatorFactory.LeafOnly<VS extends ValuesSource>configfactories, name, parent, type| Constructor and Description |
|---|
TermsAggregatorFactory(String name,
ValuesSourceConfig config,
Terms.Order order,
TermsAggregator.BucketCountThresholds bucketCountThresholds,
IncludeExclude includeExclude,
String executionHint,
Aggregator.SubAggCollectionMode executionMode,
boolean showTermDocCountError) |
| Modifier and Type | Method and Description |
|---|---|
protected Aggregator |
create(ValuesSource valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
static long |
estimatedBucketCount(ValuesSource valuesSource,
Aggregator parent) |
create, doValidateparent, subFactories, validatepublic TermsAggregatorFactory(String name, ValuesSourceConfig config, Terms.Order order, TermsAggregator.BucketCountThresholds bucketCountThresholds, IncludeExclude includeExclude, String executionHint, Aggregator.SubAggCollectionMode executionMode, boolean showTermDocCountError)
protected Aggregator createUnmapped(AggregationContext aggregationContext, Aggregator parent)
createUnmapped in class ValuesSourceAggregatorFactorypublic static long estimatedBucketCount(ValuesSource valuesSource, Aggregator parent)
protected Aggregator create(ValuesSource valuesSource, long expectedBucketsCount, AggregationContext aggregationContext, Aggregator parent)
create in class ValuesSourceAggregatorFactoryCopyright © 2009–2016. All rights reserved.