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

search doesn't yield expected results #53

Open
wolterhv opened this issue Mar 19, 2018 · 2 comments
Open

search doesn't yield expected results #53

wolterhv opened this issue Mar 19, 2018 · 2 comments

Comments

@wolterhv
Copy link

It seems that the search function yields strings, which 1) have all the characters in the search string and 2) in the same order they appear in the search string, instead of exact hits of the search string.

For example, "sho[w assembly instructions for bicycles +idea +proj]ects" is currently a valid hit for the search string woeij, where the text within the square brackets would be the hit itself.

@WPettersson
Copy link

This is by design, although whether it's a good or bad design idea is debatable. The website uses the term "fuzzy search matching", which is implemented exactly as you say. I'm tempted (in my fork) to change this to what I call "fuzzy word search", which means match all of the words, in some order, but match each word completely.

@AnthonyDiGirolamo
Copy link
Owner

AnthonyDiGirolamo commented Jun 1, 2018 via email

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

No branches or pull requests

3 participants