Skip to content

TermsBucketBase: doc_count_error should be doc_count_error_upper_bound #785

Closed
@stures

Description

@stures

Java API client version

8.13

Java version

21

Elasticsearch Version

8.13

Problem description

In the TermsBucketBase here:
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html#_per_bucket_document_count_error

The returned field is specified to doc_count_error_upper_bound

but the client expects: doc_count_error

op.add(AbstractBuilder::docCountError, JsonpDeserializer.longDeserializer(), "doc_count_error");

This causes errors when using this request

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: SpecificationRelated to the API spec used to generate client codeCategory: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions