fuzzysort
fuzzysort copied to clipboard
Fast SublimeText-like fuzzy search for JavaScript.
I have these keys > title, description how to add custom weight to each key `{keys: [{ key: 'title' , weight: 100}, { key: 'description' , weight: 60}] // that...
Even when the threshold is -Infinity there is filtering happening. I need to preserve the entire set I am sorting -- I just want to sort it. Can I do...
Hello! First of all, thank you for a great library. We have stumbled into a case where searching for one specific name containing special character, does not return a match....
I tried to running fuzzysort.single and fuzzysort.go on Hebrew characters and it returned null. Is it possible to support non-English characters? Thanks.
According to https://github.com/farzher/fuzzysort/blob/c7f1d2674d7fa526015646bc02fd17e29662d30c/fuzzysort.js#L94, the `obj` key exists on the `results` argument for the `scoreFn` callback. The typing for `obj` does exist for `KeyResult` and `KeysResult`, but is missing for `scoreFn?:...
For some reason, there is no `TS` icon indicating that the npm package has typings: https://www.npmjs.com/package/fuzzysort This always had me not installing it 😮 Where'd it go? 🤔
Hello, I am using fuzzysort for some time and it worked perfectly for me since yesterday. I do not have any change in the code but I can notice that...
When using a custom scoring function, results without matches are returned. I would expect the scoring function to not change the number of results. Example: ```js fuzzysort = require("fuzzysort"); let...
Sorting data that is stored as SoA (Structures of Arrays) as opposed to AoS (Arrays of Structures)
If I have an array ids[1000] and an array names[1000], currently, I have to create an intermediate array of objects[{ id, name },{}...] in order to be able to sort...
Hi! Great library, kudos for your work. I'm not sure if this is the expected behaviour, but fuzzysort isn't returning all the highlighted fields when running a search against multiple...