Files
elasticsearch-js/docs/reference/api/AggregationsDiversifiedSamplerAggregation.md
2025-05-27 15:30:21 -05:00

10 lines
707 B
Markdown

## Interface `AggregationsDiversifiedSamplerAggregation`
| Name | Type | Description |
| - | - | - |
| `execution_hint` | [AggregationsSamplerAggregationExecutionHint](./AggregationsSamplerAggregationExecutionHint.md) | The type of value used for de-duplication. |
| `field` | [Field](./Field.md) | The field used to provide values used for de-duplication. |
| `max_docs_per_value` | [integer](./integer.md) | Limits how many documents are permitted per choice of de-duplicating value. |
| `script` | [Script](./Script.md) | [ScriptSource](./ScriptSource.md) |   |
| `shard_size` | [integer](./integer.md) | Limits how many top-scoring documents are collected in the sample processed on each shard. |