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

Fuzzy matcher should favour whole words #3208

Open
davep opened this issue Aug 30, 2023 · 0 comments
Open

Fuzzy matcher should favour whole words #3208

davep opened this issue Aug 30, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@davep
Copy link
Contributor

davep commented Aug 30, 2023

[Meta: note that changes to the fuzzy matcher are in process in #3058 -- this is mostly a reminder to myself to either make this change there are do this as a close followup once the PR is merged]

The fuzzy matcher should favour finding a complete word over finding the start of the letter collection as early as possible. The issue can be seen here:

Screenshot 2023-08-30 at 14 52 55

poo should match poo in pile_of_poo (and so giving a higher score) in preference to matching the earlier instances of p and o.

@davep davep added the enhancement New feature or request label Aug 30, 2023
@davep davep self-assigned this Aug 30, 2023
@davep davep removed their assignment Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant