h icon indicating copy to clipboard operation
h copied to clipboard

HTTP 5xx error when viewing high page numbers in search results

Open robertknight opened this issue 7 years ago • 1 comments
trafficstars

Steps to reproduce

  1. Go to https://hypothes.is/groups/world/public?page=100
  2. Go to https://hypothes.is/groups/world/public?page=900

Expected behaviour

Different results should be displayed.

Actual behaviour

The same results page is displayed. The effective page number gets capped at some limit. I'm guessing this is around the (page_number / 10_000) mark.

Notes

Browsing to the N-hundredth page (with 200 annotations per page) is not something that Elasticsearch efficiently supports. We might simply want to change the UI so that it doesn't show links to high page numbers at the bottom, which makes the issue more noticeable.

robertknight avatar Aug 03 '18 13:08 robertknight

The behavior changed following some recent changes to how offset and limit are handled within the API. I removed the "Upgrade Elasticsearch" label because this is no longer within the scope of that project.

robertknight avatar Sep 27 '18 12:09 robertknight