Package | Description |
---|---|
org.elasticsearch.search.aggregations | |
org.elasticsearch.search.aggregations.bucket.terms |
Modifier and Type | Method and Description |
---|---|
static TermsBuilder |
AggregationBuilders.terms(String name)
Create a new
Terms aggregation with the given name. |
Modifier and Type | Method and Description |
---|---|
TermsBuilder |
TermsBuilder.collectMode(Aggregator.SubAggCollectionMode mode)
Expert: set the collection mode.
|
TermsBuilder |
TermsBuilder.exclude(double[] terms)
Define a set of terms that should not be aggregated.
|
TermsBuilder |
TermsBuilder.exclude(long[] terms)
Define a set of terms that should not be aggregated.
|
TermsBuilder |
TermsBuilder.exclude(String regex)
Define a regular expression that will filter out terms that should be excluded from the aggregation.
|
TermsBuilder |
TermsBuilder.exclude(String[] terms)
Define a set of terms that should not be aggregated.
|
TermsBuilder |
TermsBuilder.exclude(String regex,
int flags)
Define a regular expression that will filter out terms that should be excluded from the aggregation.
|
TermsBuilder |
TermsBuilder.executionHint(String executionHint)
Expert: provide an execution hint to the aggregation.
|
TermsBuilder |
TermsBuilder.include(double[] terms)
Define a set of terms that should be aggregated.
|
TermsBuilder |
TermsBuilder.include(long[] terms)
Define a set of terms that should be aggregated.
|
TermsBuilder |
TermsBuilder.include(String regex)
Define a regular expression that will determine what terms should be aggregated.
|
TermsBuilder |
TermsBuilder.include(String[] terms)
Define a set of terms that should be aggregated.
|
TermsBuilder |
TermsBuilder.include(String regex,
int flags)
Define a regular expression that will determine what terms should be aggregated.
|
TermsBuilder |
TermsBuilder.minDocCount(long minDocCount)
Set the minimum document count terms should have in order to appear in the response.
|
TermsBuilder |
TermsBuilder.order(Terms.Order order)
Defines the order in which the buckets will be returned.
|
TermsBuilder |
TermsBuilder.shardMinDocCount(long shardMinDocCount)
Set the minimum document count terms should have on the shard in order to appear in the response.
|
TermsBuilder |
TermsBuilder.shardSize(int shardSize)
Sets the shard_size - indicating the number of term buckets each shard will return to the coordinating node (the
node that coordinates the search execution).
|
TermsBuilder |
TermsBuilder.showTermDocCountError(boolean showTermDocCountError)
Expert: return document count errors per term in the response.
|
TermsBuilder |
TermsBuilder.size(int size)
Sets the size - indicating how many term buckets should be returned (defaults to 10)
|
TermsBuilder |
TermsBuilder.valueType(Terms.ValueType valueType)
When using scripts, the value type indicates the types of the values the script is generating.
|
Copyright © 2009–2015. All rights reserved.