Saved objects management paging fails if paging past 10k saved objects #116776
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Saved Objects Management
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:medium
Medium Level of Effort
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
When there are more than 10k saved objects, paging past the first 10k results result in the following error:
"all shards failed: search_phase_execution_exception: [illegal_argument_exception] Reason: Result window is too large, from + size must be less than or equal to: [10000] but was [19900]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max_result_window] index level setting."
This is because saved objects management doesn't use a PIT/scroll search so results are limited to 10k.
I don't think it makes sense to page through more than 10k results, so I think we should just change the UI to say "only showing the first 10k results" similar to #82889
See related discussion about UI patterns elastic/eui#4506
Related #93505 #91562
The text was updated successfully, but these errors were encountered: