Skip to content

Add Results Pagination #2

@rlingineni

Description

@rlingineni

Currently, you can only pass in a count argument, and the result set in the backend is truncated to that arbitrary value.

  1. In the code change the slice method to return the range of indices the user requests, depending on the page requested
  2. Search response should also be updated to include the total number of pages possible

More complex, but optimal:

  1. At the core, the lunr.js should be updated to only return a fixed Save indexes directly to Lambda Function #1 of results (e.g. 25, not all)
  2. Repeat above steps

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions