public class DoubleTermsAggregator extends LongTermsAggregator
TermsAggregator.BucketCountThresholds
Aggregator.Parser, Aggregator.SubAggCollectionMode
bucketOrds, valuesSource
aggsUsedForSorting, bucketCountThresholds, collectMode, format, order
collectableSubAggregators, context, DEFAULT_WEIGHT, name, parent, subAggregators
NO_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, needsScores
shouldDefer
bucketAggregations, bucketDocCount, bucketEmptyAggregations, close, collectBucket, collectExistingBucket, getDocCounts, grow, incrementBucketDocCount, maxBucketOrd
buildEmptySubAggregations, context, doPostCollection, doPreCollection, getDeferringCollector, getLeafCollector, metaData, name, parent, pipelineAggregators, postCollection, preCollection, runDeferredCollections, subAggregator, subAggregators, toString
descendsFromBucketAggregator
wrap
public 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.IOException
protected org.apache.lucene.index.SortedNumericDocValues getValues(ValuesSource.Numeric valuesSource, org.apache.lucene.index.LeafReaderContext ctx) throws java.io.IOException
getValues
in class LongTermsAggregator
java.io.IOException
public DoubleTerms buildAggregation(long owningBucketOrdinal) throws java.io.IOException
Aggregator
bucket
.buildAggregation
in class LongTermsAggregator
java.io.IOException
public DoubleTerms buildEmptyAggregation()
Aggregator
buildEmptyAggregation
in class LongTermsAggregator