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

The score is always 1 when using extendedSearch and "include" match type #522

Closed
baibonjwa opened this issue Dec 14, 2020 · 1 comment · Fixed by #525
Closed

The score is always 1 when using extendedSearch and "include" match type #522

baibonjwa opened this issue Dec 14, 2020 · 1 comment · Fixed by #525
Labels

Comments

@baibonjwa
Copy link

baibonjwa commented Dec 14, 2020

Describe the bug

image

The score is always 1 and I cannot sort the results. Is this a bug or expected behavior?

Version

6.4.3

Minimal Reproduction

Demo: https://jsfiddle.net/baibonjwa/dcoL1nth/17/

@baibonjwa baibonjwa added the bug label Dec 14, 2020
@skearney6
Copy link
Contributor

Yes! This one was messing me up big time. I see that the scoring for this looks flipped in the code. I'm going to send a PR for that - hopefully it will be accepted quickly. 🤞

skearney6 added a commit to skearney6/Fuse that referenced this issue Dec 23, 2020
change score to 0/1 when matched/not matched, respectively

fixes krisk#522
krisk pushed a commit that referenced this issue Dec 29, 2020
change score to 0/1 when matched/not matched, respectively

fixes #522
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants