报错原因
Elasticsearch exception [type=illegal_argument_exception, reason=Result window is too large, from + size must be less than or equal to: [10000] but was [20000]. 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.]
解决办法:
ElasticSearch查询报错:type=illegalargument_exception, reason=Result window is too large喵桑活下去_Rachel的博客-CSDN博客
PUT hc_info_operate_log/_settings?preserve_existing=true
{
"max_result_window":"20000"
}