Module org.elasticsearch.server
Interface Filters
- All Superinterfaces:
Aggregation,MultiBucketsAggregation,ToXContent,ToXContentFragment
- All Known Implementing Classes:
InternalFilters
A multi bucket aggregation where the buckets are defined by a set of filters (a bucket per filter). Each bucket
will collect all documents matching its filter.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA bucket associated with a specific filter (identified by its key)Nested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation
Aggregation.CommonFieldsNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
Fields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITERFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptiongetBucketByKey(String key) List<? extends Filters.Bucket> The buckets created by this aggregation.Methods inherited from interface org.elasticsearch.search.aggregations.Aggregation
getMetadata, getName, getTypeMethods inherited from interface org.elasticsearch.xcontent.ToXContent
toXContentMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Method Details
-
getBuckets
List<? extends Filters.Bucket> getBuckets()The buckets created by this aggregation.- Specified by:
getBucketsin interfaceMultiBucketsAggregation- Returns:
- The buckets of this aggregation.
-
getBucketByKey
-