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!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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!