krisk / Fuse

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

Exact matching not working #717

Closed rachelrj closed 9 months ago

rachelrj commented 1 year ago

I am using the following for options and my matches are not exact. Is there something I'm doing wrong?

const options = { keys: fieldsToCheck, includeMatches: true, threshold: 0.0, ignoreLocation: true, minMatchCharLength: 3, };

rachelrj commented 1 year ago

Hello, does anyone know whether this is currently a bug with Fuse or whether this is an implementation issue?

MathieuMz commented 1 year ago

Same issue here, but it caused by scoring. I never reach the perfect match with a 0 score. My "best" score is 8.569061098350962e-12 for a perfect search

github-actions[bot] commented 10 months ago

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 30 days

erquhart commented 5 months ago

For anyone watching and still experiencing this issue, please thumb up #756.