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 algorithm should favor adjacent characters #109

Open
eater opened this issue Jun 23, 2018 · 1 comment
Open

Search algorithm should favor adjacent characters #109

eater opened this issue Jun 23, 2018 · 1 comment

Comments

@eater
Copy link

eater commented Jun 23, 2018

When I type opera into a freshly installed copy of FAST, it returns two app results: OPEn cameRA and OPERA -- In that order.

That's a somewhat unexpected behavior. It'd be much better if FAST gave favorable weighting to results in which more of the typed characters are adjacent. If they're adjacent to the word beginning, that should be weighted too.

@ligi
Copy link
Owner

ligi commented Aug 3, 2018

Thanks for the feedback. Sounds reasonable - but not sure when/if I find time to do this. PRs welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants