Skip to content

NestedAggregation should expose sub aggregations through Aggregations property #3286

@russcam

Description

@russcam

From https://stackoverflow.com/a/50817790/1831

A Nested aggregation should expose the sub aggregations through the .Aggregations property. From the Stackoverflow question, the following should work

var startBuckets = nested.Aggregations.DateHistogram("start_dates").Buckets;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions