public class DiversifiedMapSamplerAggregator extends SamplerAggregator
SamplerAggregator.ExecutionMode
Aggregator.Parser, Aggregator.SubAggCollectionMode
bdd, EXECUTION_HINT_FIELD, MAX_DOCS_PER_VALUE_FIELD, SHARD_SIZE_FIELD, shardSize
collectableSubAggregators, context, DEFAULT_WEIGHT, name, parent, subAggregators
NO_OP_COLLECTOR
Constructor and Description |
---|
DiversifiedMapSamplerAggregator(java.lang.String name,
int shardSize,
AggregatorFactories factories,
SearchContext context,
Aggregator parent,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData,
ValuesSource valuesSource,
int maxDocsPerValue) |
Modifier and Type | Method and Description |
---|---|
protected void |
doClose()
Release instance-specific data.
|
DeferringBucketCollector |
getDeferringCollector() |
buildAggregation, buildEmptyAggregation, getLeafCollector, needsScores, shouldDefer
bucketAggregations, bucketDocCount, bucketEmptyAggregations, close, collectBucket, collectExistingBucket, getDocCounts, grow, incrementBucketDocCount, maxBucketOrd
buildEmptySubAggregations, context, doPostCollection, doPreCollection, getLeafCollector, metaData, name, parent, pipelineAggregators, postCollection, preCollection, runDeferredCollections, subAggregator, subAggregators, toString
descendsFromBucketAggregator
wrap
public DiversifiedMapSamplerAggregator(java.lang.String name, int shardSize, AggregatorFactories factories, SearchContext context, Aggregator parent, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData, ValuesSource valuesSource, int maxDocsPerValue) throws java.io.IOException
java.io.IOException
protected void doClose()
AggregatorBase
doClose
in class SamplerAggregator
public DeferringBucketCollector getDeferringCollector()
getDeferringCollector
in class SamplerAggregator