Package | Description |
---|---|
org.elasticsearch.search.aggregations | |
org.elasticsearch.search.aggregations.bucket.significant |
Modifier and Type | Method and Description |
---|---|
static SignificantTermsBuilder |
AggregationBuilders.significantTerms(String name)
Create a new
SignificantTerms aggregation with the given name. |
Modifier and Type | Method and Description |
---|---|
SignificantTermsBuilder |
SignificantTermsBuilder.backgroundFilter(QueryBuilder filter)
Set the background filter to compare to.
|
SignificantTermsBuilder |
SignificantTermsBuilder.exclude(long[] terms)
Define a set of terms that should not be aggregated.
|
SignificantTermsBuilder |
SignificantTermsBuilder.exclude(String regex)
Define a regular expression that will filter out terms that should be excluded from the aggregation.
|
SignificantTermsBuilder |
SignificantTermsBuilder.exclude(String[] terms)
Define a set of terms that should not be aggregated.
|
SignificantTermsBuilder |
SignificantTermsBuilder.exclude(String regex,
int flags)
Define a regular expression that will filter out terms that should be excluded from the aggregation.
|
SignificantTermsBuilder |
SignificantTermsBuilder.executionHint(String executionHint)
Expert: give an execution hint to this aggregation.
|
SignificantTermsBuilder |
SignificantTermsBuilder.field(String field)
Set the field to fetch significant terms from.
|
SignificantTermsBuilder |
SignificantTermsBuilder.include(long[] terms)
Define a set of terms that should be aggregated.
|
SignificantTermsBuilder |
SignificantTermsBuilder.include(String regex)
Define a regular expression that will determine what terms should be aggregated.
|
SignificantTermsBuilder |
SignificantTermsBuilder.include(String[] terms)
Define a set of terms that should be aggregated.
|
SignificantTermsBuilder |
SignificantTermsBuilder.include(String regex,
int flags)
Define a regular expression that will determine what terms should be aggregated.
|
SignificantTermsBuilder |
SignificantTermsBuilder.minDocCount(int minDocCount)
Only return significant terms that belong to at least
minDocCount documents. |
SignificantTermsBuilder |
SignificantTermsBuilder.shardMinDocCount(int shardMinDocCount)
Expert: set the minimum number of documents that a term should match to
be retrieved from a shard.
|
SignificantTermsBuilder |
SignificantTermsBuilder.shardSize(int shardSize)
Expert: Set the number of significant terms to retrieve on each shard.
|
SignificantTermsBuilder |
SignificantTermsBuilder.significanceHeuristic(SignificanceHeuristicBuilder significanceHeuristicBuilder)
Expert: set the
SignificanceHeuristic to use. |
SignificantTermsBuilder |
SignificantTermsBuilder.size(int requiredSize)
Set the number of significant terms to retrieve.
|
Copyright © 2009–2016. All rights reserved.