Skip to content

GeoBoundsAggregate.bounds should be optional #383

Closed
@swallez

Description

@swallez

Found in https://discuss.elastic.co/t/new-java-client-bug-in-geocentroidaggregation/312612

When no documents match the query, an empty object is returned by the geo-bounds aggregation. This means that its single field, bounds, should be optional.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: SpecificationRelated to the API spec used to generate client code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions