alleyinteractive / alleyinteractive/es-wp-query

Set max from/size for ES

未關閉
#44 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
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 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。