public static class GlobalOrdinalsStringTermsAggregator.WithHash extends GlobalOrdinalsStringTermsAggregator
GlobalOrdinalsStringTermsAggregator that rebases hashes in order to make them dense. Might be
useful in case few hashes are visited.GlobalOrdinalsStringTermsAggregator.LowCardinality, GlobalOrdinalsStringTermsAggregator.WithHashTermsAggregator.BucketCountThresholdsAggregator.BucketAggregationMode, Aggregator.Parser, Aggregator.SubAggCollectionModeBucketCollector.BucketAnalysisCollector| Modifier and Type | Field and Description |
|---|---|
protected boolean |
showTermDocCountError |
acceptedGlobalOrdinals, collector, globalOrds, includeExclude, valuesSourceaggsUsedForSorting, bucketCountThresholds, order, subAggCollectModebigArrays, bucketAggregationMode, COLLECT_MODE, collectableSubAggregators, context, depth, estimatedBucketCount, factories, name, parent, subAggregatorsNO_OP_COLLECTOR| Constructor and Description |
|---|
WithHash(String name,
AggregatorFactories factories,
ValuesSource.Bytes.WithOrdinals.FieldData valuesSource,
long estimatedBucketCount,
long maxOrd,
Terms.Order order,
TermsAggregator.BucketCountThresholds bucketCountThresholds,
IncludeExclude includeExclude,
AggregationContext aggregationContext,
Aggregator parent,
Aggregator.SubAggCollectionMode collectionMode,
boolean showTermDocCountError) |
| Modifier and Type | Method and Description |
|---|---|
InternalAggregation |
buildEmptyAggregation() |
protected void |
doClose()
Release instance-specific data.
|
protected long |
getBucketOrd(long termOrd) |
protected org.elasticsearch.search.aggregations.bucket.terms.GlobalOrdinalsStringTermsAggregator.Collector |
newCollector(org.apache.lucene.index.RandomAccessOrds ords) |
buildAggregation, collect, copy, setNextReader, shouldCollectshouldDeferbucketAggregations, bucketDocCount, bucketEmptyAggregations, close, collectBucket, collectBucketNoCounts, collectExistingBucket, getDocCounts, incrementBucketDocCount, maxBucketOrdbucketAggregationMode, buildEmptySubAggregations, context, depth, doPostCollection, estimatedBucketCount, gatherAnalysis, hasParentBucketAggregator, name, parent, postCollection, preCollection, runDeferredCollections, subAggregator, subAggregatorswrappublic WithHash(String name, AggregatorFactories factories, ValuesSource.Bytes.WithOrdinals.FieldData valuesSource, long estimatedBucketCount, long maxOrd, Terms.Order order, TermsAggregator.BucketCountThresholds bucketCountThresholds, IncludeExclude includeExclude, AggregationContext aggregationContext, Aggregator parent, Aggregator.SubAggCollectionMode collectionMode, boolean showTermDocCountError)
protected org.elasticsearch.search.aggregations.bucket.terms.GlobalOrdinalsStringTermsAggregator.Collector newCollector(org.apache.lucene.index.RandomAccessOrds ords)
newCollector in class GlobalOrdinalsStringTermsAggregatorprotected long getBucketOrd(long termOrd)
getBucketOrd in class GlobalOrdinalsStringTermsAggregatorprotected void doClose()
AggregatordoClose in class Aggregatorpublic InternalAggregation buildEmptyAggregation()
buildEmptyAggregation in class AggregatorCopyright © 2009–2016. All rights reserved.