public static class GlobalOrdinalsSignificantTermsAggregator.WithHash extends GlobalOrdinalsSignificantTermsAggregator
GlobalOrdinalsSignificantTermsAggregator.WithHashGlobalOrdinalsStringTermsAggregator.LowCardinalityTermsAggregator.BucketCountThresholdsAggregator.Parser, Aggregator.SubAggCollectionMode| Modifier and Type | Field and Description |
|---|---|
protected boolean |
showTermDocCountError |
numCollectedDocs, termsAggFactoryacceptedGlobalOrdinals, globalOrds, includeExclude, valuesSourceaggsUsedForSorting, bucketCountThresholds, collectMode, ordercollectableSubAggregators, context, name, parent, subAggregatorsNO_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, buildEmptyAggregationcopy, 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, toStringdescendsFromBucketAggregatorwrappublic 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
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 GlobalOrdinalsSignificantTermsAggregatorIOExceptionprotected long getBucketOrd(long termOrd)
getBucketOrd in class GlobalOrdinalsStringTermsAggregatorprotected void doClose()
AggregatorBasedoClose in class GlobalOrdinalsSignificantTermsAggregatorCopyright © 2009–2017. All rights reserved.