public class GlobalOrdinalsStringTermsAggregator extends TermsAggregator
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
GlobalOrdinalsStringTermsAggregator.LowCardinality
Variant of
GlobalOrdinalsStringTermsAggregator that resolves global ordinals post segment collection
instead of on the fly for each match.This is beneficial for low cardinality fields, because it can reduce
the amount of look-ups significantly. |
static class |
GlobalOrdinalsStringTermsAggregator.WithHash
Variant of
GlobalOrdinalsStringTermsAggregator that rebases hashes in order to make them dense. |
TermsAggregator.BucketCountThresholdsAggregator.Parser, Aggregator.SubAggCollectionMode| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected org.apache.lucene.util.LongBitSet |
acceptedGlobalOrdinals |
protected org.apache.lucene.index.RandomAccessOrds |
globalOrds |
protected IncludeExclude.OrdinalsFilter |
includeExclude |
protected boolean |
showTermDocCountError |
protected ValuesSource.Bytes.WithOrdinals |
valuesSource |
aggsUsedForSorting, bucketCountThresholds, collectMode, ordercollectableSubAggregators, context, name, parent, subAggregatorsNO_OP_COLLECTOR| コンストラクタと説明 |
|---|
GlobalOrdinalsStringTermsAggregator(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) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
InternalAggregation |
buildAggregation(long owningBucketOrdinal)
Build an aggregation for data that has been collected into
bucket. |
InternalAggregation |
buildEmptyAggregation()
Build an empty aggregation.
|
protected static void |
copy(org.apache.lucene.util.BytesRef from,
org.apache.lucene.util.BytesRef to) |
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. |
protected LeafBucketCollector |
newCollector(org.apache.lucene.index.RandomAccessOrds ords,
LeafBucketCollector sub) |
shouldDeferbucketAggregations, bucketDocCount, bucketEmptyAggregations, close, collectBucket, collectExistingBucket, getDocCounts, grow, incrementBucketDocCount, maxBucketOrdbuildEmptySubAggregations, context, doClose, doPostCollection, doPreCollection, getDeferringCollector, getLeafCollector, metaData, name, needsScores, parent, pipelineAggregators, postCollection, preCollection, runDeferredCollections, subAggregator, subAggregators, toStringdescendsFromBucketAggregatorwrapprotected final ValuesSource.Bytes.WithOrdinals valuesSource
protected final IncludeExclude.OrdinalsFilter includeExclude
protected org.apache.lucene.util.LongBitSet acceptedGlobalOrdinals
protected org.apache.lucene.index.RandomAccessOrds globalOrds
protected final boolean showTermDocCountError
public GlobalOrdinalsStringTermsAggregator(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 long getBucketOrd(long termOrd)
public 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 クラス内 AggregatorBaseIOExceptionprotected LeafBucketCollector newCollector(org.apache.lucene.index.RandomAccessOrds ords, LeafBucketCollector sub)
protected static void copy(org.apache.lucene.util.BytesRef from,
org.apache.lucene.util.BytesRef to)
public InternalAggregation buildAggregation(long owningBucketOrdinal) throws IOException
Aggregatorbucket.buildAggregation クラス内 AggregatorIOExceptionpublic InternalAggregation buildEmptyAggregation()
AggregatorbuildEmptyAggregation クラス内 AggregatorCopyright © 2009–2016. All rights reserved.