-
-
Notifications
You must be signed in to change notification settings - Fork 768
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
What is distance and location? #391
Comments
I would love to have a way to disable this functionality. As a workaround I just set distance to an arbitrarily large number so that it does not throw off my scores by too much, but it's a pretty silly thing to have to do as a workaround. |
The calculation for something to be considered a match (whether fuzzy or exact) takes into account how far the pattern is from the expected location, with a threshold calculation. For example, consider the following options:
With the above defaults, for it to be considered a match it would have to be within (threshold) Using the example from #404, consider the string
Not a silly thing to do. It's the right approach to take. Nonetheless, I'm working on ways to exclude distance & location from the calculation so that people don't have to worry about fiddling with these options. |
The search is VERY dependent on these parameters. But at the same time their behavior is completely incomprehensible.
Can I permanently disable these options?
The documentation only takes a few words to describe them.
The text was updated successfully, but these errors were encountered: