大米CMS官网论坛,大米站长联盟,大米站长之家,大米开发者社区's Archiver
大米社区
›
大米商城mishop
› es分页超过10000条offset报错的解决
追影
发表于 2023-3-20 11:53:27
es分页超过10000条offset报错的解决
将max_result_window设置为 5000000
用curl命令:
curl -XPUT 'http://localhost:9200/_all/_settings?preserve_existing=true' -H 'Content-Type: application/json' -d '{"index": {"max_result_window": 5000000}}'
页:
[1]
查看完整版本:
es分页超过10000条offset报错的解决