Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mixed scores for matching results. #26

Open
ItsJoeTurner opened this issue Jun 23, 2020 · 3 comments
Open

Mixed scores for matching results. #26

ItsJoeTurner opened this issue Jun 23, 2020 · 3 comments
Labels
upstream The issue exists in Fuse.js and has to be fixed there first

Comments

@ItsJoeTurner
Copy link

I have matches that come through with a score of 2.2+ and then other concrete matches that show a score of 0.01 - I have some code that looks for anything over 2 and anything under 0.1, but are you aware of this?

@loilo
Copy link
Owner

loilo commented Jun 23, 2020

Hey @ItsJoeTurner, thanks for reporting.

I'm not aware of those issues, but this is just a "dumb" port of Fuse.js, so I'm not familiar with the searching/scoring logic myself. If you could provide an example that produces these results, I could determine if this is an issue with Fuse.js itself or with my port.

@lennart-hendriksma
Copy link

If you round($result, 4) the result, you will get 0.0001

Original post:
krisk/Fuse#481 (comment)

@loilo
Copy link
Owner

loilo commented Sep 22, 2020

So this seems to be an issue with Fuse.js itself. Gonna mark this as upstream.

@loilo loilo added the upstream The issue exists in Fuse.js and has to be fixed there first label Sep 22, 2020
@loilo loilo mentioned this issue Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream The issue exists in Fuse.js and has to be fixed there first
Projects
None yet
Development

No branches or pull requests

3 participants