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 #1 of results (e.g. 25, not all) 2. Repeat above steps
Currently, you can only pass in a
countargument, and the result set in the backend is truncated to that arbitrary value.codechange the slice method to return the range of indices the user requests, depending on the page requestedMore complex, but optimal:
lunr.jsshould be updated to only return a fixed Save indexes directly to Lambda Function #1 of results (e.g. 25, not all)