krisk / Fuse

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

fix: double totalWeight #680

Closed NamPNQ closed 1 year ago

NamPNQ commented 1 year ago

We call totalWeight += obj.weight two times, so the totalWeight is double