hypothesis / hypothesis/h

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

Open
#5,208 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
3.2k
Forks
459
Avg merge
27d 1h
Merged PRs (30d)
1

Description

### 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.