You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
BTW, there are ways to get around this sometimes with filters. May be worth implementing. For inf scroll of calypso posts, sorted by date across all of a user's blogs we use encoded page handles. Something like:
Though the assumption here is that you need to pass around info about the last item that was shown rather than just a page number. It also has the nice property of not showing duplicate content when new content is posted. I suspect though that this would require a change to Core first. But mentioning in case there is another way.
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.
The text was updated successfully, but these errors were encountered: