How to solve the problem of es error
This article shows you how to solve the es error report, the content is concise and easy to understand, it can definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
The problem that the scope of data query is too large.
Scenario: order list 10 items per page
There will be a problem on 1000 pages and there will be a problem on 1001 pages. 1002 pages will return to normal prompt "the number of selected pages is too large"
{"error": {"root_cause": [{"type": "query_phase_execution_exception", "reason": "Result window is too large, from + size must be less than or equal to: [10000] but was [10010]. 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. "}]," type ":" search_phase_execution_exception "," reason ":" all shards failed "," phase ":" query "," grouped ": true," failed_shards ": [{" shard ": 0 "index": "crm_order_online_0915", "node": "wvuhY-JrTIOzo6KPDyjKKA", "reason": {"type": "query_phase_execution_exception", "reason": "Result window is too large, from + size must be less than or equal to: [10000] but was [10010]. 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. "}]}," status ": 500} the above content is how to solve the es error report. Have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.