You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 years ago | |
---|---|---|
.. | ||
Config | 4 years ago | |
Const | ||
Html/Icon | 4 years ago | |
MiddleWare | 4 years ago | |
Model | ||
MyModel | 4 years ago | |
Router | ||
Shell | ||
Test | ||
Tools | ||
Utils | ||
docs | ||
models | ||
ReadMe | ||
go.mod | 4 years ago | |
go.sum | 4 years ago | |
main.go | 4 years ago | |
一键发布.cmd |
ReadMe
es本身默认限制了查找的量为10000条,即 from+size<=10000
解决方法:
# 修改es中所有的index配置
curl -H "Content-Type: application/json" -XPUT http://127.0.0.1:9200/_settings -d '{ "index" : { "max_result_window" : 1000000000}}'