krisk / Fuse

Lightweight fuzzy-search, in JavaScript
https://fusejs.io/
Apache License 2.0
17.76k stars 753 forks source link

Search only if all the characters present in the word #689

Closed satheesh66 closed 1 year ago

satheesh66 commented 1 year ago

Description

Search only if all the characters present in the word

Describe the solution you'd like

`const fuse = new Fuse(["hello"], {})

const result = fuse.search('halloween')

output: result=[ { "item": "hello" } ]

const result = fuse.search('hand')

output: result=[] ` if any of the characters not available in target word then it shoult not return the word

Describe alternatives you've considered

--

github-actions[bot] commented 1 year ago

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