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.Parser, Aggregator.SubAggCollectionMode| Modifier and Type | Field and Description |
|---|---|
protected boolean |
showTermDocCountError |
acceptedGlobalOrdinals, globalOrds, includeExclude, valuesSourceaggsUsedForSorting, bucketCountThresholds, collectMode, ordercollectableSubAggregators, context, name, parent, subAggregatorsNO_OP_COLLECTOR| Constructor and Description |
|---|
GlobalOrdinalsStringTermsAggregator.WithHash(String name,
AggregatorFactories factories,
ValuesSource.Bytes.WithOrdinals valuesSource,
Terms.Order order,
TermsAggregator.BucketCountThresholds bucketCountThresholds,
IncludeExclude.OrdinalsFilter includeExclude,
AggregationContext aggregationContext,
Aggregator parent,
Aggregator.SubAggCollectionMode collectionMode,
boolean showTermDocCountError,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
| Modifier and Type | Method and Description |
|---|---|
InternalAggregation |
buildEmptyAggregation()
Build an empty aggregation.
|
protected void |
doClose()
Release instance-specific data.
|
protected long |
getBucketOrd(long termOrd) |
protected LeafBucketCollector |
newCollector(org.apache.lucene.index.RandomAccessOrds ords,
LeafBucketCollector sub) |
buildAggregation, copy, getLeafCollectorshouldDeferbucketAggregations, bucketDocCount, bucketEmptyAggregations, close, collectBucket, collectExistingBucket, getDocCounts, grow, incrementBucketDocCount, maxBucketOrdbuildEmptySubAggregations, context, doPostCollection, doPreCollection, getDeferringCollector, getLeafCollector, metaData, name, needsScores, parent, pipelineAggregators, postCollection, preCollection, runDeferredCollections, subAggregator, subAggregators, toStringdescendsFromBucketAggregatorwrappublic GlobalOrdinalsStringTermsAggregator.WithHash(String name, AggregatorFactories factories, ValuesSource.Bytes.WithOrdinals valuesSource, Terms.Order order, TermsAggregator.BucketCountThresholds bucketCountThresholds, IncludeExclude.OrdinalsFilter includeExclude, AggregationContext aggregationContext, Aggregator parent, Aggregator.SubAggCollectionMode collectionMode, boolean showTermDocCountError, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) throws IOException
IOExceptionprotected LeafBucketCollector newCollector(org.apache.lucene.index.RandomAccessOrds ords, LeafBucketCollector sub)
newCollector in class GlobalOrdinalsStringTermsAggregatorprotected long getBucketOrd(long termOrd)
getBucketOrd in class GlobalOrdinalsStringTermsAggregatorprotected void doClose()
AggregatorBasedoClose in class AggregatorBasepublic InternalAggregation buildEmptyAggregation()
AggregatorbuildEmptyAggregation in class AggregatorCopyright © 2009–2017. All rights reserved.