-
-
Notifications
You must be signed in to change notification settings - Fork 784
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
Scoring incorrect when multi word tokens given in different keys #610
Comments
I've recently stumble across a similar issue related to word spacing. Word-spacing gets tokenized as
But it fails in case receive
|
Team, |
https://jsfiddle.net/gorn3ks7/
|
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days |
Describe the bug
The scoring logic is not working when using extended search. When multiple words with spaces are given as keys, returning results with shorter string scores are higher.
Version
v6.4.6
https://jsfiddle.net/prajavk/n79upa8w/22/
Issue:
fusejs search results order was same when we gave multiple tokens from different keys { title: "drain refill ", tags: ["oil", "flush"] }
For example, "drain oil" will not work when I add token of tags[]. This way, searches as either "drain refill" or "refill drain", would return the expected match.
The text was updated successfully, but these errors were encountered: