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

too_many_buckets_exception in opensearch #13614

Closed
ganilmca opened this issue May 9, 2024 · 1 comment
Closed

too_many_buckets_exception in opensearch #13614

ganilmca opened this issue May 9, 2024 · 1 comment
Labels
enhancement Enhancement or improvement to existing feature or request Search Search query, autocomplete ...etc untriaged

Comments

@ganilmca
Copy link

ganilmca commented May 9, 2024

Is your feature request related to a problem? Please describe

Hi Team,

We have deployed the one prod cluster with opensearch-2.12.0 version.
When we create visualization to download csv file we were getting the below error.

too_many_buckets_exception Trying to create too many buckets. Must be less than or equal to: [120000] but was [120001]. This limit can be set by changing the [search.max_buckets]

But we have already increased the value 80k to 120k even we were getting this error.

Can anyone please help us to resolve this error and also what is the maximum set value for this.

Thanks & Regards,
Anil

Describe the solution you'd like

we want permanent solution for this one.

Related component

Search

Describe alternatives you've considered

No response

Additional context

image

@ganilmca ganilmca added enhancement Enhancement or improvement to existing feature or request untriaged labels May 9, 2024
@github-actions github-actions bot added the Search Search query, autocomplete ...etc label May 9, 2024
@andrross
Copy link
Member

Thanks @ganilmca. In general, for support like this I'd suggest either the forum or the slack. I think the exception is pretty clear...you're exceeding the maximum number of search buckets. The limit exists to prevent a single search request from consuming too many resources. The maximum value allowed is technically the Java Integer.MAX_VALUE (2^31-1), though I don't think that many aggregation buckets is useful in practice. Please reopen an issue here if you think there is a bug, but for general support I recommend the forum or slack. Thanks!

@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Search Project Board May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Search Search query, autocomplete ...etc untriaged
Projects
Archived in project
Development

No branches or pull requests

2 participants