PDF - The type of factory used to create predicates in AggregationFilterStep.filter(Function).public interface ExtendedSearchAggregationFactory<PDF extends SearchPredicateFactory> extends SearchAggregationFactory
SearchAggregationFactory allowing to
easily override the predicate factory type for all relevant methods.
Warning: Generic parameters of this type are subject to change, so this type should not be referenced directtly in user code.
| Modifier and Type | Method and Description |
|---|---|
RangeAggregationFieldStep<PDF> |
range()
Perform aggregation in range buckets.
|
TermsAggregationFieldStep<PDF> |
terms()
Perform aggregation in term buckets.
|
extensionRangeAggregationFieldStep<PDF> range()
SearchAggregationFactoryGiven a field and one or more ranges of values, this aggregation creates one bucket per range, and puts in each bucket every document for which the given field has a value that falls into the corresponding range.
For each bucket, the document count is computed, or more complex metrics or sub-aggregations for backends that support it.
range in interface SearchAggregationFactoryTermsAggregationFieldStep<PDF> terms()
SearchAggregationFactoryGiven a field, this aggregation creates one bucket per term of that field in the index, and puts in each bucket every document for which the given field matches the corresponding term.
For each bucket, the document count is computed, or more complex metrics or sub-aggregations for backends that support it.
terms in interface SearchAggregationFactoryCopyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.