Open prashnts opened 5 years ago
The thresholds used in fuse.js initialization is not very useful. The value 0.5 matches a lot of text that it should not. Example:
0.5
Query: [ nugget ] Matches: noughat ^ ^ ^ Edit distance > 2 biggest ^^^ ^ rugged ^^^^ bugger ^^^^
Clearly, the fuzziness is useless in such cases because it does not weight the position of matches.
Thankfully this is implemented in fuse.js, we only need to configure it correctly.
The thresholds used in fuse.js initialization is not very useful. The value
0.5
matches a lot of text that it should not. Example:Clearly, the fuzziness is useless in such cases because it does not weight the position of matches.
Thankfully this is implemented in fuse.js, we only need to configure it correctly.