Skip to content

chore: add fuzzy search - #958

Open
mikelxk wants to merge 3 commits into
listen1:masterfrom
mikelxk:fuzzy
Open

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

Conversation

@mikelxk

@mikelxk mikelxk commented Oct 13, 2022

Copy link
Copy Markdown
Collaborator

No description provided.

@listen1

listen1 commented Oct 21, 2022

Copy link
Copy Markdown
Owner

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

mikelxk commented Oct 21, 2022

Copy link
Copy Markdown
Collaborator Author

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