krisk / Fuse

Lightweight fuzzy-search, in JavaScript

Home Page:https://fusejs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fuzzy matching not working proper

imran-khanmemon opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Your question

Following the website using fuse search
https://easternmart.mysupershoply.com/c/medicines
Try to search "Mirinda /"
here I am searching for Marinda which gives me proper results, if I further add / then the results are according to / not Miranda /

This is my option setting
const options = {
includeScore: false,
threshold: 0.6,
findAllMatches: false,
includeMatches: false,
useExtendedSearch: true,
ignoreLocation: true,
//location: 0,
//distance: 100,
//maxPatternLength: 5,
minMatchCharLength: 5,
keys: ['V.T']
}