Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

todo: implement lightweight full text/fuzzy search #45

Open
swyxio opened this issue Mar 7, 2022 · 7 comments
Open

todo: implement lightweight full text/fuzzy search #45

swyxio opened this issue Mar 7, 2022 · 7 comments

Comments

@swyxio
Copy link
Owner

swyxio commented Mar 7, 2022

both typesense and algolia require api key signup, which is bleh, so let's try to handroll it like chumps: https://github.com/sw-yx/netlify-plugin-search-index

@git-no
Copy link

git-no commented Mar 24, 2022

How would be this fuse.js? It works fine in my app and is super fast.

@swyxio
Copy link
Owner Author

swyxio commented Apr 19, 2022

yeah i use fusejs under the hood in that thing - welcome to help implement it!

@swyxio swyxio mentioned this issue Aug 27, 2022
@VaithiSniper
Copy link

so if i'm reading this right, we can rework the search with fuse.js?

@VaithiSniper
Copy link

can i take it up if so?

@VaithiSniper
Copy link

#122 added fuse.js
and is this what's expected?

@swyxio
Copy link
Owner Author

swyxio commented Oct 6, 2022

yup! will review your PR.

we may not want to use Fuse.js exactly since it is 15kb.. there are a good list of alternatives here that at probably lighter and do almost the same thing https://github.com/leeoniya/uFuzzy#user-content-benchmark

@swyxio
Copy link
Owner Author

swyxio commented Oct 6, 2022

see also the ideas and comments in #80

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants