alleyinteractive / alleyinteractive/es-wp-query
Set max from/size for ES
未關閉
enhancement
- 主要語言
- PHP
- 星號
- 125
- 分支
- 28
- PR 合併指標
- 30 天內沒有已合併 PR
描述
In ES 2.x there is now a maximum value for from+size in order to prevent deep paging which can cause performance problems.
We've also added this same limit when querying WP.com 1.x indices (after seeing some performance problems). It seems that es-wp-query should handle this case cleanly. For example, what happens when a bot tries to walk all archive pages.
貢獻指南
評估
這個 Issue 還沒有評估資料。