Package org.elasticsearch.search.aggregations.bucket.filter
package org.elasticsearch.search.aggregations.bucket.filter
-
InterfaceDescriptionA
filter
aggregation.A multi bucket aggregation where the buckets are defined by a set of filters (a bucket per filter).A bucket associated with a specific filter (identified by its key) -
ClassDescriptionAggregate all docs that match a filter.Collects results by running each filter against the searcher and doesn't build any
LeafBucketCollector
s which is generally faster thanFiltersAggregator.Compatible
but doesn't support when there is a parent aggregator or any child aggregators.BuildsFilterByFilterAggregator
when the filters are valid and it would be faster than a "native" aggregation implementation.Aggregator forfilters
.Query merging two point in range queries.QueryToFilterAdapter<Q extends org.apache.lucene.search.Query>Adapts a LuceneQuery
to the behaviors used be theFiltersAggregator
.