krisk / Fuse

Lightweight fuzzy-search, in JavaScript
https://fusejs.io/
Apache License 2.0
18.36k stars 772 forks source link

Different scores for the same match #352

Closed koreno closed 4 years ago

koreno commented 4 years ago

This seems like a bug - the two titles match identically to the search string, yet they produce quite a different score. image

krisk commented 4 years ago

They're not the same though. The words "Artist" and "Symbol" are also checked, and each of those, giventokenize:true along with matchAllTokens:true will yield different scores.