| Package | Description |
|---|---|
| org.elasticsearch.search.aggregations.bucket.terms |
| Modifier and Type | Field and Description |
|---|---|
protected Terms.Order |
TermsAggregator.order |
protected Terms.Order |
InternalTerms.order |
| Modifier and Type | Method and Description |
|---|---|
static Terms.Order |
Terms.Order.aggregation(String path,
boolean asc)
Creates a bucket ordering strategy which sorts buckets based on a single-valued calc get
|
static Terms.Order |
Terms.Order.aggregation(String aggregationName,
String metricName,
boolean asc)
Creates a bucket ordering strategy which sorts buckets based on a multi-valued calc get
|
static Terms.Order |
Terms.Order.compound(List<Terms.Order> orders)
Creates a bucket ordering strategy which sorts buckets based multiple criteria
|
static Terms.Order |
Terms.Order.compound(Terms.Order... orders)
Creates a bucket ordering strategy which sorts buckets based multiple criteria
|
static Terms.Order |
Terms.Order.count(boolean asc) |
static Terms.Order |
Terms.Order.term(boolean asc) |
| Modifier and Type | Method and Description |
|---|---|
static Terms.Order |
Terms.Order.compound(Terms.Order... orders)
Creates a bucket ordering strategy which sorts buckets based multiple criteria
|
TermsBuilder |
TermsBuilder.order(Terms.Order order)
Defines the order in which the buckets will be returned.
|
| Modifier and Type | Method and Description |
|---|---|
static Terms.Order |
Terms.Order.compound(List<Terms.Order> orders)
Creates a bucket ordering strategy which sorts buckets based multiple criteria
|
| Constructor and Description |
|---|
DoubleTerms(String name,
Terms.Order order,
ValueFormatter formatter,
int requiredSize,
int shardSize,
long minDocCount,
List<? extends InternalTerms.Bucket> buckets,
boolean showTermDocCountError,
long docCountError,
long otherDocCount,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
DoubleTermsAggregator(String name,
AggregatorFactories factories,
ValuesSource.Numeric valuesSource,
ValueFormat format,
Terms.Order order,
TermsAggregator.BucketCountThresholds bucketCountThresholds,
AggregationContext aggregationContext,
Aggregator parent,
Aggregator.SubAggCollectionMode collectionMode,
boolean showTermDocCountError,
IncludeExclude.LongFilter longFilter,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
GlobalOrdinalsStringTermsAggregator.LowCardinality(String name,
AggregatorFactories factories,
ValuesSource.Bytes.WithOrdinals valuesSource,
Terms.Order order,
TermsAggregator.BucketCountThresholds bucketCountThresholds,
AggregationContext aggregationContext,
Aggregator parent,
Aggregator.SubAggCollectionMode collectionMode,
boolean showTermDocCountError,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
GlobalOrdinalsStringTermsAggregator.WithHash(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) |
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) |
InternalTerms(String name,
Terms.Order order,
int requiredSize,
int shardSize,
long minDocCount,
List<? extends InternalTerms.Bucket> buckets,
boolean showTermDocCountError,
long docCountError,
long otherDocCount,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
LongTerms(String name,
Terms.Order order,
ValueFormatter formatter,
int requiredSize,
int shardSize,
long minDocCount,
List<? extends InternalTerms.Bucket> buckets,
boolean showTermDocCountError,
long docCountError,
long otherDocCount,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
LongTermsAggregator(String name,
AggregatorFactories factories,
ValuesSource.Numeric valuesSource,
ValueFormat format,
Terms.Order order,
TermsAggregator.BucketCountThresholds bucketCountThresholds,
AggregationContext aggregationContext,
Aggregator parent,
Aggregator.SubAggCollectionMode subAggCollectMode,
boolean showTermDocCountError,
IncludeExclude.LongFilter longFilter,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
StringTerms(String name,
Terms.Order order,
int requiredSize,
int shardSize,
long minDocCount,
List<? extends InternalTerms.Bucket> buckets,
boolean showTermDocCountError,
long docCountError,
long otherDocCount,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
StringTermsAggregator(String name,
AggregatorFactories factories,
ValuesSource valuesSource,
Terms.Order order,
TermsAggregator.BucketCountThresholds bucketCountThresholds,
IncludeExclude.StringFilter includeExclude,
AggregationContext aggregationContext,
Aggregator parent,
Aggregator.SubAggCollectionMode collectionMode,
boolean showTermDocCountError,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
TermsAggregator(String name,
AggregatorFactories factories,
AggregationContext context,
Aggregator parent,
TermsAggregator.BucketCountThresholds bucketCountThresholds,
Terms.Order order,
Aggregator.SubAggCollectionMode collectMode,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
TermsAggregatorFactory(String name,
ValuesSourceConfig config,
Terms.Order order,
TermsAggregator.BucketCountThresholds bucketCountThresholds,
IncludeExclude includeExclude,
String executionHint,
Aggregator.SubAggCollectionMode executionMode,
boolean showTermDocCountError) |
UnmappedTerms(String name,
Terms.Order order,
int requiredSize,
int shardSize,
long minDocCount,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Copyright © 2009–2017. All rights reserved.