fuzzysort icon indicating copy to clipboard operation
fuzzysort copied to clipboard

Even when the threshold is -Infinity there is filtering happening.

Open buckmaxwell opened this issue 1 year ago • 1 comments

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 that?

buckmaxwell avatar May 23 '23 18:05 buckmaxwell

no. if it's not a match it won't be returned. but you can simply manually add everything else back into the end of your results.

farzher avatar May 23 '23 20:05 farzher

Having an empty result for fuzzysort.go('Value Abc', ['Value', 'Other'], { threshold: -Infinity }) seems incoherent to me

hugo082 avatar Feb 21 '24 11:02 hugo082

Having an empty result for fuzzysort.go('Value Abc', ['Value', 'Other'], { threshold: -Infinity }) seems incoherent to me

yeah i understand, but this is how sublime text works so i'm not considering it an issue for now

farzher avatar Apr 05 '24 07:04 farzher