# `AggregationsSamplerAggregation` [interface-AggregationsSamplerAggregation] | Name | Type | Description | | - | - | - | | `shard_size` | [integer](./integer.md) | Limits how many top-scoring documents are collected in the sample processed on each shard. |