Hacker News new | ask | show | jobs
by sandstrom 1229 days ago
You could have a look at https://github.com/lucaong/minisearch/
1 comments

Wow, this might fit our needs much better! Thanks!
Hot tip, we experimented with running minisearch in RAM on cloudflare workers and it works excellent for up to 5MB of index due to it being under the 50ms CPU time.

This means, 10M search requests for 5$. The only drawback is that it's expensive to re-index, but if your use case don't require that, it's hard to beat!

Can vouch for minisearch. Amazing for relative small data that fits in memory.

The typeahead is great.