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 result order doesn't make sense #36

Closed
dlee opened this issue Aug 2, 2012 · 2 comments
Closed

Search result order doesn't make sense #36

dlee opened this issue Aug 2, 2012 · 2 comments

Comments

@dlee
Copy link

dlee commented Aug 2, 2012

In your demo, the search result order doesn't make sense.

For example, when you type wyo, you don't even get Wyoming in the list. When you type wyom, you get Wyoming in the list, but it's not on top of the list. Finally, when you type wyomi, you get Wyoming at the top of the list.

The weirdest part is that the other results that show up besides Wyoming don't even have the term wyo in them.

@dlee
Copy link
Author

dlee commented Aug 2, 2012

Perhaps this is a side-effect of issue #32?

@meltingice
Copy link
Owner

This has nothing to do with the Javascript plugin. It's due to how the search is done server-side in PHP using levenshtein distances, which is extremely rudimentary.

Thanks for reminding me about #32 though.

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

2 participants