Skip to content

[FEATURE] Support bucket_sort aggregations #7055

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

Closed
vladimir-ilnytskyi opened this issue Dec 2, 2022 · 3 comments · Fixed by #7320
Closed

[FEATURE] Support bucket_sort aggregations #7055

vladimir-ilnytskyi opened this issue Dec 2, 2022 · 3 comments · Fixed by #7320
Labels
8.x Relates to a 8.x client version
Milestone

Comments

@vladimir-ilnytskyi
Copy link

We really want to use newer version because of serializer speed AND really depend on this agg.
When is estimated release?

Elastic.Clients.Elasticsearch version: 8.0.1

Elasticsearch version: 8.5.x

.NET runtime version: .net6

Operating system version: not applicable

Description of the problem including expected versus actual behavior:
A clear and concise description of what the bug is.

Steps to reproduce:
no query language for bucket_sort, found in source code this:
case “avg_bucket”:
throw new Exception(“The aggregate in response is not yet supported.“);
case “bucket_script”:
throw new Exception(“The aggregate in response is not yet supported.“);
case “bucket_count_ks_test”:
throw new Exception(“The aggregate in response is not yet supported.“);
case “bucket_correlation”:
throw new Exception(“The aggregate in response is not yet supported.“);
case “bucket_selector”:
throw new Exception(“The aggregate in response is not yet supported.“);
case “bucket_sort”:
throw new Exception(“The aggregate in response is not yet supported.“);

Expected behavior
support added

@vladimir-ilnytskyi vladimir-ilnytskyi added the 8.x Relates to a 8.x client version label Dec 2, 2022
@stevejgordon
Copy link
Contributor

Hi, @vladimir-ilnytskyi.

This is not currently available in the 8.0.0 as documented in our supported aggregations in our release notes. We will (re)introduce this (and other) aggregation types in future client releases. Thanks for raising your need for this type, as it helps prioritise that work.

@stevejgordon stevejgordon changed the title Dotnet Client(Elastic.Clients.Elasticsearch) 8.0.1 doesn’t support bucket_sort 8.x [FEATURE] Support bucket_sort aggregations Dec 13, 2022
@vladimir-ilnytskyi
Copy link
Author

Hello!

Thanks for the reply!
Any rough estimations on when this is planned to be implemented in beta?

@stevejgordon
Copy link
Contributor

@vladimir-ilnytskyi I can't provide any timeframes at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.x Relates to a 8.x client version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants