Closed ChoppinBlockParty closed 7 months ago
For the code
const fzf = new Fuse<string>( [ 'top book options', 'ice european options' ], { shouldSort: true, includeMatches: true, includeScore: true, ignoreLocation: true } ) fzf.search('ice options')
the results would be
[ { item: 'top book options', refIndex: 0, matches: [ { indices: [ [ 0, 3 ], [ 5, 6 ], [ 8, 15 ] ], value: 'top book options' } ], score: 0.47251476595266545 }, { item: 'ice european options', refIndex: 1, matches: [ { indices: [ [ 0, 4 ], [ 7, 9 ], [ 11, 19 ] ], value: 'ice european options' } ], score: 0.47251476595266545 } ]
It is surprising because i would expect the second item to be first in the return list. Any chances to improve the results.
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 30 days
For the code
the results would be
It is surprising because i would expect the second item to be first in the return list. Any chances to improve the results.