public class GlobalOrdinalsSignificantTermsAggregator extends GlobalOrdinalsStringTermsAggregator
SignificantStringTermsAggregator.| Modifier and Type | Class and Description |
|---|---|
static class |
GlobalOrdinalsSignificantTermsAggregator.WithHash |
GlobalOrdinalsStringTermsAggregator.LowCardinalityTermsAggregator.BucketCountThresholdsAggregator.Parser, Aggregator.SubAggCollectionMode| Modifier and Type | Field and Description |
|---|---|
protected long |
numCollectedDocs |
protected boolean |
showTermDocCountError |
protected SignificantTermsAggregatorFactory |
termsAggFactory |
acceptedGlobalOrdinals, globalOrds, includeExclude, valuesSourceaggsUsedForSorting, bucketCountThresholds, collectMode, ordercollectableSubAggregators, context, name, parent, subAggregatorsNO_OP_COLLECTOR| Constructor and Description |
|---|
GlobalOrdinalsSignificantTermsAggregator(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 |
|---|---|
SignificantStringTerms |
buildAggregation(long owningBucketOrdinal)
Build an aggregation for data that has been collected into
bucket. |
SignificantStringTerms |
buildEmptyAggregation()
Build an empty aggregation.
|
protected void |
doClose()
Release instance-specific data.
|
LeafBucketCollector |
getLeafCollector(org.apache.lucene.index.LeafReaderContext ctx,
LeafBucketCollector sub)
Get a
LeafBucketCollector for the given ctx, which should
delegate to the given collector. |
copy, getBucketOrd, newCollectorshouldDeferbucketAggregations, bucketDocCount, bucketEmptyAggregations, close, collectBucket, collectExistingBucket, getDocCounts, grow, incrementBucketDocCount, maxBucketOrdbuildEmptySubAggregations, context, doPostCollection, doPreCollection, getDeferringCollector, getLeafCollector, metaData, name, needsScores, parent, pipelineAggregators, postCollection, preCollection, runDeferredCollections, subAggregator, subAggregators, toStringdescendsFromBucketAggregatorwrapprotected long numCollectedDocs
protected final SignificantTermsAggregatorFactory termsAggFactory
protected final boolean showTermDocCountError
public GlobalOrdinalsSignificantTermsAggregator(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
IOExceptionpublic LeafBucketCollector getLeafCollector(org.apache.lucene.index.LeafReaderContext ctx, LeafBucketCollector sub) throws IOException
AggregatorBaseLeafBucketCollector for the given ctx, which should
delegate to the given collector.getLeafCollector in class GlobalOrdinalsStringTermsAggregatorIOExceptionpublic SignificantStringTerms buildAggregation(long owningBucketOrdinal) throws IOException
Aggregatorbucket.buildAggregation in class GlobalOrdinalsStringTermsAggregatorIOExceptionpublic SignificantStringTerms buildEmptyAggregation()
Aggregatorprotected void doClose()
AggregatorBasedoClose in class AggregatorBaseCopyright © 2009–2017. All rights reserved.