Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
# Backport This will backport the following commits from `main` to `8.x`: - [[Controls] Fix load more request size (#207901)](#207901) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Hannah Mudge","email":"Heenawter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-01-29T00:27:23Z","message":"[Controls] Fix load more request size (#207901)\n\nCloses https://github.com/elastic/kibana/issues/207884\r\n\r\n## Summary\r\n\r\nThis PR ensures that the options list control only fetches a maximum of\r\n**1,000** terms on scroll rather than the whole cardinality of the given\r\nfield. This prevents the user from hitting an error when the cardinality\r\nof their field is greater than their `search.max_buckets` setting\r\n(which, by default, is set to `65,536`)\r\n\r\n**Before**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/0b60818a-497e-4f1f-b2ed-788c7e7371e3\r\n\r\n**After**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2e52b45b-9e35-4e7e-920c-c0b4fe3aa728\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"1f3c9cb9bb39699ca8dc0a83d6da59914a654977","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:Presentation","loe:small","impact:medium","v9.0.0","backport:prev-major"],"title":"[Controls] Fix load more request size","number":207901,"url":"https://github.com/elastic/kibana/pull/207901","mergeCommit":{"message":"[Controls] Fix load more request size (#207901)\n\nCloses https://github.com/elastic/kibana/issues/207884\r\n\r\n## Summary\r\n\r\nThis PR ensures that the options list control only fetches a maximum of\r\n**1,000** terms on scroll rather than the whole cardinality of the given\r\nfield. This prevents the user from hitting an error when the cardinality\r\nof their field is greater than their `search.max_buckets` setting\r\n(which, by default, is set to `65,536`)\r\n\r\n**Before**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/0b60818a-497e-4f1f-b2ed-788c7e7371e3\r\n\r\n**After**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2e52b45b-9e35-4e7e-920c-c0b4fe3aa728\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"1f3c9cb9bb39699ca8dc0a83d6da59914a654977"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/207901","number":207901,"mergeCommit":{"message":"[Controls] Fix load more request size (#207901)\n\nCloses https://github.com/elastic/kibana/issues/207884\r\n\r\n## Summary\r\n\r\nThis PR ensures that the options list control only fetches a maximum of\r\n**1,000** terms on scroll rather than the whole cardinality of the given\r\nfield. This prevents the user from hitting an error when the cardinality\r\nof their field is greater than their `search.max_buckets` setting\r\n(which, by default, is set to `65,536`)\r\n\r\n**Before**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/0b60818a-497e-4f1f-b2ed-788c7e7371e3\r\n\r\n**After**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2e52b45b-9e35-4e7e-920c-c0b4fe3aa728\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"1f3c9cb9bb39699ca8dc0a83d6da59914a654977"}}]}] BACKPORT--> Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com>
- Loading branch information