es 分页查询过大时无法展示

put /es_student_brands/_settings
{
"index":{
"max_result_window":100000000
}
}
curl --user user:pwd -X PUT "http://a.aliyuncs.com:9200/es_student_brands/_settings" -H "Content-Type: application/json" -d '{
"index": {
"max_result_window": 100000000
}
}'
设置最大返回记录数,即可正常返回