elasticsearch问题之 Result window is too large

Caused by: org.elasticsearch.search.query.QueryPhaseExecutionException: Result window is too large, from + size must be less than or equal to: [10000] but was [1346010]. 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.

 

看到ES提示我结果窗口太大了,目前最大值为10000,而我却要求给我1346010。并且在后面也提到了要求我修改index.max_result_window参数来增大结果窗口大小。

-----------解决办法-------------

 

 

{"index":{"max_result_window":2147483647}}
posted @ 2020-08-23 13:29  PEAR2020  阅读(636)  评论(0编辑  收藏  举报