public static class GlobalOrdinalsSignificantTermsAggregator.WithHash extends GlobalOrdinalsSignificantTermsAggregator
GlobalOrdinalsSignificantTermsAggregator.WithHash
GlobalOrdinalsStringTermsAggregator.LowCardinality
TermsAggregator.BucketCountThresholds
Aggregator.Parser, Aggregator.SubAggCollectionMode
Modifier and Type | Field and Description |
---|---|
protected boolean |
showTermDocCountError |
numCollectedDocs, termsAggFactory
acceptedGlobalOrdinals, globalOrds, includeExclude, valuesSource
aggsUsedForSorting, bucketCountThresholds, collectMode, order
collectableSubAggregators, context, name, parent, subAggregators
NO_OP_COLLECTOR
Constructor and Description |
---|
GlobalOrdinalsSignificantTermsAggregator.WithHash(String name,
AggregatorFactories factories,
ValuesSource.Bytes.WithOrdinals.FieldData valuesSource,
TermsAggregator.BucketCountThresholds bucketCountThresholds,
IncludeExclude.OrdinalsFilter includeExclude,
AggregationContext aggregationContext,
Aggregator parent,
SignificantTermsAggregatorFactory termsAggFactory,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
protected void |
doClose()
Release instance-specific data.
|
protected long |
getBucketOrd(long termOrd) |
LeafBucketCollector |
getLeafCollector(org.apache.lucene.index.LeafReaderContext ctx,
LeafBucketCollector sub)
Get a
LeafBucketCollector for the given ctx, which should
delegate to the given collector. |
buildAggregation, buildEmptyAggregation
copy, newCollector
shouldDefer
bucketAggregations, bucketDocCount, bucketEmptyAggregations, close, collectBucket, collectExistingBucket, getDocCounts, grow, incrementBucketDocCount, maxBucketOrd
buildEmptySubAggregations, context, doPostCollection, doPreCollection, getDeferringCollector, getLeafCollector, metaData, name, needsScores, parent, pipelineAggregators, postCollection, preCollection, runDeferredCollections, subAggregator, subAggregators, toString
descendsFromBucketAggregator
wrap
public GlobalOrdinalsSignificantTermsAggregator.WithHash(String name, AggregatorFactories factories, ValuesSource.Bytes.WithOrdinals.FieldData valuesSource, TermsAggregator.BucketCountThresholds bucketCountThresholds, IncludeExclude.OrdinalsFilter includeExclude, AggregationContext aggregationContext, Aggregator parent, SignificantTermsAggregatorFactory termsAggFactory, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) throws IOException
IOException
public LeafBucketCollector getLeafCollector(org.apache.lucene.index.LeafReaderContext ctx, LeafBucketCollector sub) throws IOException
AggregatorBase
LeafBucketCollector
for the given ctx, which should
delegate to the given collector.getLeafCollector
in class GlobalOrdinalsSignificantTermsAggregator
IOException
protected long getBucketOrd(long termOrd)
getBucketOrd
in class GlobalOrdinalsStringTermsAggregator
protected void doClose()
AggregatorBase
doClose
in class GlobalOrdinalsSignificantTermsAggregator
Copyright © 2009–2017. All rights reserved.