All Superinterfaces:
Aggregation, HasAggregations, SingleBucketAggregation, ToXContent, ToXContentFragment
All Known Implementing Classes:
InternalSampler, ParsedSampler, UnmappedSampler

public interface Sampler extends SingleBucketAggregation
A filter aggregation that defines a single bucket to hold a sample of top-matching documents. Computation of child aggregations is deferred until the top-matching documents on a shard have been determined.