public class DoubleTermsAggregator extends LongTermsAggregator
TermsAggregator.BucketCountThresholdsAggregator.Parser, Aggregator.SubAggCollectionModebucketOrds, valuesSourceaggsUsedForSorting, bucketCountThresholds, collectMode, format, ordercollectableSubAggregators, context, DEFAULT_WEIGHT, name, parent, subAggregatorsNO_OP_COLLECTOR| Constructor and Description |
|---|
DoubleTermsAggregator(java.lang.String name,
AggregatorFactories factories,
ValuesSource.Numeric valuesSource,
DocValueFormat format,
Terms.Order order,
TermsAggregator.BucketCountThresholds bucketCountThresholds,
SearchContext aggregationContext,
Aggregator parent,
Aggregator.SubAggCollectionMode collectionMode,
boolean showTermDocCountError,
IncludeExclude.LongFilter longFilter,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
| Modifier and Type | Method and Description |
|---|---|
DoubleTerms |
buildAggregation(long owningBucketOrdinal)
Build an aggregation for data that has been collected into
bucket. |
DoubleTerms |
buildEmptyAggregation()
Build an empty aggregation.
|
protected org.apache.lucene.index.SortedNumericDocValues |
getValues(ValuesSource.Numeric valuesSource,
org.apache.lucene.index.LeafReaderContext ctx) |
doClose, getLeafCollector, needsScoresshouldDeferbucketAggregations, bucketDocCount, bucketEmptyAggregations, close, collectBucket, collectExistingBucket, getDocCounts, grow, incrementBucketDocCount, maxBucketOrdbuildEmptySubAggregations, context, doPostCollection, doPreCollection, getDeferringCollector, getLeafCollector, metaData, name, parent, pipelineAggregators, postCollection, preCollection, runDeferredCollections, subAggregator, subAggregators, toStringdescendsFromBucketAggregatorwrappublic DoubleTermsAggregator(java.lang.String name,
AggregatorFactories factories,
ValuesSource.Numeric valuesSource,
DocValueFormat format,
Terms.Order order,
TermsAggregator.BucketCountThresholds bucketCountThresholds,
SearchContext aggregationContext,
Aggregator parent,
Aggregator.SubAggCollectionMode collectionMode,
boolean showTermDocCountError,
IncludeExclude.LongFilter longFilter,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData)
throws java.io.IOException
java.io.IOExceptionprotected org.apache.lucene.index.SortedNumericDocValues getValues(ValuesSource.Numeric valuesSource, org.apache.lucene.index.LeafReaderContext ctx) throws java.io.IOException
getValues in class LongTermsAggregatorjava.io.IOExceptionpublic DoubleTerms buildAggregation(long owningBucketOrdinal) throws java.io.IOException
Aggregatorbucket.buildAggregation in class LongTermsAggregatorjava.io.IOExceptionpublic DoubleTerms buildEmptyAggregation()
AggregatorbuildEmptyAggregation in class LongTermsAggregator