Ошибка
Result window is too large, from + size must be less than or equal to: [10000] but was [10032]. 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. [reason: all shards failed]