Skip to content

Limit the number of result pages #174

@blairlearn

Description

@blairlearn

Issue description

The search app displays a pager, allowing the user to navigate the total number of pages the API reports are indexed. So if the API reports there are 49,491 results, the search app will offer the user the ability to go directly to page 2,475 of the results.

Aside from the questionable usefulness of a result that far down the rankings, allowing it requires either altering the Elasticsearch configuration in a manner that makes it more vulnerable to DOS attacks, or else drastically changing the manner in which the API works.

ESTIMATE TBD

What's the expected change?

  • (discussion is required)

What's the current functionality?

  • The app displays a clickable "last page" link, and if the page number is past the end of what the API is able to return, the user is presented with the message that "An error occured."

What's the updated acceptance criteria?

Additional details / screenshot

Related Tickets

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions