fuzz-aldrin-plus icon indicating copy to clipboard operation
fuzz-aldrin-plus copied to clipboard

Possible scoring improvement with typos

Open AustP opened this issue 10 years ago • 3 comments

Today I was trying to open a file Display.class.php. I typed displya.class and the file was no where to be found in the list.

image

I finished typing displya.class.php to see if it would show up, but it did not.

image

Obviously with a typo, it's gonna throw off the scoring algorithm, however, I feel that the file should've showed up at least somewhere in the first or second list. Thoughts?

AustP avatar Dec 16 '15 19:12 AustP

The feedback I receive so far was very power user oriented: Every character that I type has a reason for being there. Also by the spec for a match to be positive it must contain every character in order.

I however do have a flag to disable strict checking. I expect overall speed with this flag to be 2-3x slower (because strict is very fast to discard result) It might require you to type more too (because more noise result).

Maybe I can add a checkbox for it.

jeancroy avatar Dec 16 '15 19:12 jeancroy

@AustP I'll ask a different question.

How would you react if you start to type display.cl and suddenly a bunch of clojurescript *.cls started to pop-up ?

I ask because I've been asked about boosting extension but I totaly don't support double extension yet.

jeancroy avatar Dec 17 '15 19:12 jeancroy

I would be fine with that. In that case, I would just type an 'a' character to filter those out.

Personally how I use fuzzy searching is I type a word then look to see if the first item is the one I want. If it is not, I type the next word and look to see if the first item is the one I want. I continue this pattern until there is nothing more to type. So in this case, display (look) .class (look) .php (look). If there is nothing more to type, and the first item is not my choice, I will look through the list for it.

AustP avatar Dec 17 '15 22:12 AustP