Skip to content

The DateHistogramAggregation fails when adding the field 'name' #766

Closed
@frank-montyne

Description

@frank-montyne

Java API client version

8.12.2

Java version

21

Elasticsearch Version

8.12.2

Problem description

On the DateHistogramAggregation.Builder it is possible to add a name using builder.name("xyz"). when doing that the aggregation fails saying that the content is invalid. If the name is not set the aggregation works. It seems to me that there is no need for that field anyway since the name of the aggregation is the key in the map Map<String, Aggregation>

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