public class GlobalOrdinalsSignificantTermsAggregator extends GlobalOrdinalsStringTermsAggregator
SignificantStringTermsAggregator
.Modifier and Type | Class and Description |
---|---|
static class |
GlobalOrdinalsSignificantTermsAggregator.WithHash |
GlobalOrdinalsStringTermsAggregator.LowCardinality
TermsAggregator.BucketCountThresholds
Aggregator.Parser, Aggregator.SubAggCollectionMode
Modifier and Type | Field and Description |
---|---|
protected long |
numCollectedDocs |
protected boolean |
showTermDocCountError |
protected SignificantTermsAggregatorFactory |
termsAggFactory |
acceptedGlobalOrdinals, globalOrds, includeExclude, valuesSource
aggsUsedForSorting, bucketCountThresholds, collectMode, order
collectableSubAggregators, context, name, parent, subAggregators
NO_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, 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
protected 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
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 GlobalOrdinalsStringTermsAggregator
IOException
public SignificantStringTerms buildAggregation(long owningBucketOrdinal) throws IOException
Aggregator
bucket
.buildAggregation
in class GlobalOrdinalsStringTermsAggregator
IOException
public SignificantStringTerms buildEmptyAggregation()
Aggregator
protected void doClose()
AggregatorBase
doClose
in class AggregatorBase
Copyright © 2009–2016. All rights reserved.