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

Implement fuzzy-search #3

Open
brunetton opened this issue May 9, 2019 · 4 comments
Open

Implement fuzzy-search #3

brunetton opened this issue May 9, 2019 · 4 comments

Comments

@brunetton
Copy link

Hi,
I'd love to be able to find emoji by fuzzy search.

Example: thup should find "thumb up"

@gornostal
Copy link
Member

Thanks for the feature request.
Feel free to create a PR.

@brunetton
Copy link
Author

As you know it's always simpler to make a Feature Request than a PR, but ... maybe one day, who knows !

@mahemoff
Copy link

mahemoff commented Oct 6, 2020

A related feature request would be to sort by relevance, as the results sort alphabetically I think? If anyone ever makes a fuzzy search, it's likely there's a score attached to each result that could be used as the primary sorting factor.

As shown below, the first result isn't always the one you expect.

Selection_999(371)

@brunetton
Copy link
Author

brunetton commented Oct 13, 2020

Ideed @mahemoff, current behavior is quite strange.
Your comment is too ;) All fuzzy search libs works the way we except it, returning exact matches first.

Here's a quick'n dirty living example: https://jsfiddle.net/f4cgx09q/1/

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

No branches or pull requests

3 participants