Skip to content

[Concurrent Segment Search] suppport Diversified Sampler and Sampler aggs #11075

@jed326

Description

@jed326

The max_docs_per_value parameter is being evaluated at the slice level for concurrent segment search instead of at the shard level, which is resulting in a higher than expected document count being returned in the aggregations.

See: #10046

Also, the docs for this agg type does not even mention this parameter.

Related flaky test issues:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    🆕 New

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions