Skip to content
This repository has been archived by the owner on Jul 17, 2019. It is now read-only.

查询漏洞的时候超过500页后的漏洞就会出现 Internal Server Error的解决 #22

Open
hanc00l opened this issue Aug 28, 2016 · 0 comments

Comments

@hanc00l
Copy link
Owner

hanc00l commented Aug 28, 2016

elasticsearch默认的最大分页数是10000条记录(也就是500页),因此超过500页会报错。解决办法:
在命令行下执行

curl -XPUT "http://localhost:9200/wooyun/_settings" -d '{ "index" : { "max_result_window" : 500000 } }'

修改默认最大分页记录。

参考链接:http://stackoverflow.com/questions/35206409/elasticsearch-2-1-result-window-is-too-large-index-max-result-window

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant