Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TermsBucketBase: doc_count_error should be doc_count_error_upper_bound #785

Closed
stures opened this issue Apr 17, 2024 · 1 comment · Fixed by #824
Closed

TermsBucketBase: doc_count_error should be doc_count_error_upper_bound #785

stures opened this issue Apr 17, 2024 · 1 comment · Fixed by #824
Labels
Area: Specification Related to the API spec used to generate client code Category: Bug Something isn't working

Comments

@stures
Copy link

stures commented Apr 17, 2024

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

@l-trotta
Copy link
Contributor

Hello! Thank you for reporting this, I'm getting a different error so I'll have to investigate this a bit more, but something is definitely not working.

@l-trotta l-trotta added the Category: Bug Something isn't working label Apr 17, 2024
@l-trotta l-trotta added the Area: Specification Related to the API spec used to generate client code label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Specification Related to the API spec used to generate client code Category: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants