[wp-meta] [Making WordPress.org] #3442: Limit pagination for plugin search results

Making WordPress.org noreply at wordpress.org
Fri Feb 9 22:21:45 UTC 2018

#3442: Limit pagination for plugin search results
 Reporter:  ocean90           |      Owner:
     Type:  defect            |     Status:  new
 Priority:  normal            |  Milestone:
Component:  Plugin Directory  |   Keywords:
 Example: https://wordpress.org/plugins/search/help/page/643/ shows results
 but https://wordpress.org/plugins/search/help/page/644/ doesn't. It
 redirects to https://wordpress.org/plugins/search/.

 Based on the error message there's a limit in Elasticsearch that prevents
 an offset (`from` parameter) above 9000.

 `{"error":"Bad Request","message":"Elasticsearch cannot page past the
 first 9000 results."}`

 On page 643 it's 8359 ((643-1)*14) and 644 has 9002 ((644-1)*14). Forcing
 it to 9000 still returns results.

Ticket URL: <https://meta.trac.wordpress.org/ticket/3442>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org

More information about the wp-meta mailing list