public interface Sampler extends SingleBucketAggregation
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.Aggregation.CommonFieldsToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsTYPED_KEYS_DELIMITEREMPTY_PARAMSgetAggregations, getDocCountgetMetaData, getName, getTypeisFragmenttoXContent