Closed iOliverNguyen closed 3 years ago
I think I have a similar issue
pattern = 'gtb'
[
{
"item": {
"title": "Sterling Bank Plc",
"filename": "sterling_bank"
},
"refIndex": 0,
"score": 0.2388538854091851
},
{
"item": {
"title": "Guaranty Trust Bank GTB",
"filename": "guaranty_trust_bank"
},
"refIndex": 1,
"score": 0.4472135954999579
}
]
If I set isCaseSensitive: true
the second one does not even show on the list.
you can even test this on the demo page https://fusejs.io/demo.html
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 results are not relevant. I searched for
cmdpat
and I got something likesrc/database
at the top result. 😕Version
6.4.6
Is this a regression?
I'm not sure
🔬Minimal Reproduction
The file go.json is the list of golang/go files from GitHub API. It can be downloaded here: gist.github.com/olvrng/cff3528c0ae32ab7081a2c56a68f7860.
The minimal reproduction script is below:
What I expected
I expected these lines should appear higher in the list
What I saw instead
The results are not relevant at all 🤔
Thank you for taking the time to write the library and consider this issue.