Hacker News new | ask | show | jobs
by dawnerd 1769 days ago
Yeah having a cap on the number of results is fine. Problem is when it queries for every item at once. I’ve tested on large datasets and my patched version of instantsearch has no performance problems over 100 pages w/30 items per page. Every time you clicked next page it would request maxPages * perPage but start from index 0.

Im not using as a primary data store.

https://github.com/meilisearch/instant-meilisearch/issues/18

1 comments

Thanks for your answer dawnerd. I will take a look at it with fresh eyes, we may have missed something :)