3 ms·
The thing I've used for this kind of problem is fusejs which is a lightweight search index. You can load it with a list of JSON documents and do structured or f
by tootie 3y ago
The thing I've used for this kind of problem is fusejs which is a lightweight search index. You can load it with a list of JSON documents and do structured or fuzzy string searches. I find it pretty well-suited to the kind of frontend experiences I need a lot of data for.
- carlsverre 3y agoThis is cool! Thanks for sharing. Sounds like Fuse would be a great solution for a read-only index. But what if you want to collaborate on the data with other people? FWIW check out SQLite's full text search extension: https://www.sqlite.org/fts5.html https://www.sqlite.org/fts5.html