DEV Community

Discussion on: What search engines have you used in your apps?

Collapse
reobin profile image
Robin Gagnon • Edited on

Hey Matthew, thanks for the suggestion!

vimcolorschemes has a pretty large dataset (couple of MBs) that I don't feel comfortable loading upfront. Using something like Elasticsearch gives me the flexibility of loading the search index only if the user uses the search feature, as well as only loading the results (not the whole index).

That said, the other option I'm looking into is creating a simple Express API that uses something like Fuse. I could upload the dataset at build time, and query it through the API on the client.

Fuse looks super intuitive, so I'll definitely consider it. Thanks Matthew!