-
-
Notifications
You must be signed in to change notification settings - Fork 149
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
Use fuzzy search ordering #861
Comments
Currently I sort alphabetically. I need to rank/filter by some kind of fuzzy search algorithm, but I've yet to find one that's very reliable (other than uFuzzy, which is JavaScript :/) @KraXen72 |
|
Well, I can also embed it using an interpreter like Rhino, if I'm willing to bite anywhere from 0.5-1mb of app size, possible IPC weirdness, and having to polyfill in |
if you end up porting uFuzzy, let me know. i'll add it to the readme ;) Intl is used only as the last sorting metric (when all other match metrics are equal). you can always use something else that does lexicographic comparisons. EDIT: i guess the |
@OxygenCobalt what about these? |
Eh, I'm not going to go wild bringing in a bunch of third-party stuff for this library just set @KraXen72. |
I search for a song called 'Rain' and it's like halfway down the list?
shouldn't an exact match be at the top?
(i was looking for the one at the bottom)
it's neither really a bug or feature request so that's why i didn't use the template
The text was updated successfully, but these errors were encountered: