buttercup / buttercup-core

:tophat: The mighty NodeJS password vault
http://buttercup.pw/
MIT License
469 stars 57 forks source link

[Improvement] Search takes a little too long and also returns items unmatched #305

Open testsetse opened 3 years ago

testsetse commented 3 years ago

It looks like it triggers a new search on every keystroke and takes a little longer. Furthermore, it also returns results that do not match the searched keyword. For example, in screenshot I've attached, there's nothing that matches flickr in other results except flickr.com;

What I can infer from the result is that it also shows results which match partially to searched keyword. In this particular case, linkedin.com matches li while slack.com matches ck and are thus displayed in the results which kinda makes no sense; image

perry-mitchell commented 3 years ago

Hmm. We use fuzzy search to handle matching in a quick manner, but it probably needs some tuning. It's perhaps a bit too sensitive.