Skip to content

Give better result for exact match when using weighted keys #192

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

Merged
merged 1 commit into from
Sep 27, 2017
Merged

Give better result for exact match when using weighted keys #192

merged 1 commit into from
Sep 27, 2017

Conversation

sheldonrong
Copy link
Contributor

Simply set the score for exact match from 0 to 0.001 if weighted search is enabled, this allows weighted search score to be computed correctly.

@sheldonrong
Copy link
Contributor Author

@krisk any updates on this one?

@krisk krisk merged commit 2dddf96 into krisk:master Sep 27, 2017
@sheldonrong
Copy link
Contributor Author

@krisk thanks for merging my change. do you mind publishing a new version to npm ?
(I didn't update the version so not sure how this would work.)
Thanks.

@krisk
Copy link
Owner

krisk commented Oct 9, 2017

@sheldonrong Done. Pardon the delay.

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

Successfully merging this pull request may close these issues.

None yet

2 participants