Skip to content

chore: add fuzzy search#958

Open
mikelxk wants to merge 3 commits intolisten1:masterfrom
mikelxk:fuzzy
Open

chore: add fuzzy search#958
mikelxk wants to merge 3 commits intolisten1:masterfrom
mikelxk:fuzzy

Conversation

@mikelxk
Copy link
Copy Markdown
Collaborator

@mikelxk mikelxk commented Oct 13, 2022

No description provided.

@listen1
Copy link
Copy Markdown
Owner

listen1 commented Oct 21, 2022

thanks for pr.
Fuzzy search is a nice requirement for searching but need carefully algorithm design, so I'm still thinking about the implementation for that.

I think we can investigate for javascript library for that purpose, or try to find out whether regular expression will meet that purpose with more elegant way.

@mikelxk
Copy link
Copy Markdown
Collaborator Author

mikelxk commented Oct 21, 2022

Most fuzzy search library actually does is sorting based on relevance, like https://github.com/krisk/Fuse. It's just a temporary workaround for filter here.

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

Successfully merging this pull request may close these issues.

2 participants