-
-
Notifications
You must be signed in to change notification settings - Fork 772
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
Results not quite matching #369
Comments
At a guest it's because F-250 is at the end so it's lower in score than
something that is closer to the beginning but has character mismatches
(which are called 'errors' in bitap).
Regards,
Daniel
…On 2020-03-25 8:30 p.m., Cristi C wrote:
Here's a weird case:
Search Data:
|[{"search":"2021 Ford Transit Connect"},{"search":"2020 Ford
EcoSport"},{"search":"2020 Ford Edge"},{"search":"2020 Ford
Escape"},{"search":"2020 Ford Expedition"},{"search":"2020 Ford
Explorer"},{"search":"2020 Ford F-150"},{"search":"2020 Ford
Fusion"},{"search":"2020 Ford Fusion Energi"},{"search":"2020 Ford
Fusion Hybrid"},{"search":"2020 Ford Mustang"},{"search":"2020 Ford
Ranger"},{"search":"2020 Ford Super Duty F-250"},{"search":"2020 Ford
Super Duty F-350"},{"search":"2020 Ford Transit
Connect"},{"search":"2020 Ford Transit Passenger
Wagon"},{"search":"2020 Ford Transit Van"},{"search":"2019 Ford
EcoSport"},{"search":"2019 Ford Edge"},{"search":"2019 Ford
Escape"},{"search":"2019 Ford Expedition"},{"search":"2019 Ford
Explorer"},{"search":"2019 Ford F-150"},{"search":"2019 Ford
Fiesta"},{"search":"2019 Ford Flex"},{"search":"2019 Ford
Fusion"},{"search":"2019 Ford Fusion Energi"},{"search":"2019 Ford
Fusion Hybrid"},{"search":"2019 Ford Mustang"},{"search":"2019 Ford
Ranger"},{"search":"2019 Ford Super Duty F-250"},{"search":"2019 Ford
Super Duty F-350"},{"search":"2019 Ford Taurus"},{"search":"2019 Ford
Transit Connect"},{"search":"2019 Ford Transit Passenger
Wagon"},{"search":"2019 Ford Transit Van"},{"search":"2018 Ford
C-Max"},{"search":"2018 Ford EcoSport"},{"search":"2018 Ford
Edge"},{"search":"2018 Ford Escape"},{"search":"2018 Ford
Expedition"},{"search":"2018 Ford Explorer"},{"search":"2018 Ford
F-150"},{"search":"2018 Ford Fiesta"},{"search":"2018 Ford
Flex"},{"search":"2018 Ford Focus"},{"search":"2018 Ford
Fusion"},{"search":"2018 Ford Fusion Energi"},{"search":"2018 Ford
Fusion Hybrid"},{"search":"2018 Ford Mustang"},{"search":"2018 Ford
Super Duty F-250"},{"search":"2018 Ford Super Duty
F-350"},{"search":"2018 Ford Taurus"},{"search":"2018 Ford Transit
Connect"},{"search":"2018 Ford Transit Van"}] |
and the search options
|let options = { threshold: 0.6, location: 0, distance: 70,
minMatchCharLength: 1, keys: [ "search" ] }; let fuse = new Fuse(list,
options); let result = fuse.search("F-250"); |
The search term is |F-250|
I expect to get |Ford Super Duty F-250| at the top, but I don't
Any ideas?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#369>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6GOSQ4NGLWEBRIZLFK4LTRJKO23ANCNFSM4LT3H4SA>.
|
@cshoredaniel interesting.. I tested with the I would thing there should be a way to get more precise match.
|
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's a weird case:
Search Data:
and the search options
The search term is
F-250
I expect to get
Ford Super Duty F-250
at the top, but I don'tAny ideas?
The text was updated successfully, but these errors were encountered: