[wp-meta] [Making WordPress.org] #3442: Limit pagination for plugin search results
Making WordPress.org
noreply at wordpress.org
Fri Feb 9 23:26:17 UTC 2018
#3442: Limit pagination for plugin search results
------------------------------+------------------------
Reporter: ocean90 | Owner: gibrown
Type: defect | Status: reviewing
Priority: normal | Milestone:
Component: Plugin Directory | Resolution:
Keywords: |
------------------------------+------------------------
Comment (by gibrown):
Ya that is correct. The exact limits are here:
https://developer.wordpress.com/docs/elasticsearch/elasticsearch-queries/
For all intents and purposes wp.org is treated as another VIP (though it
is kinda a special case).
Additional background:
- this limit was always there (ES has a default limit of 10k), but we were
just failing the query rather than returning an error message that really
said you were hitting a limit.
- We decided to set a limit of 9k for `from` and 1k for `size` rather than
the more complicated (to explain and check) limit on each separately
- Latest Jetpack (5.8 just released) issues a 404 when this condition is
hit. We are running an old fork of that code, but updating to the real
code would be another good way to fix this.
That patch looks good to me for an immediate fix.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3442#comment:3>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list