DONE? Tweak how fuzzy search results are presented

Make a request or discuss new features.
Post Reply
User avatar
pjj
Posts: 2242
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

DONE? Tweak how fuzzy search results are presented

Post by pjj »

It would be really helpful if you could tweak the way fuzzy search works or, more specifically, how hits are sorted and what gets highlighted. Now it seems that the whole path is parsed character after character, which means that -- if you write down part of a filename and you have many files in your project -- the best hit is hidden down the hit list:
fuzzy-search.png
fuzzy-search.png (41.61 KiB) Viewed 5321 times
I am searching for "admin" here, but hits with this term in a filename are not presented at the top of the list, and I can't quickly see them, because letters in the pathname are highlighted instead. I guess the desired order would be this:
* whole hits in filenames
* whole hits in dirnames
* fuzzy hits in pathnames

so e.g.
D:\wwwJobs\uzaleznienia\subdomains\ankieta\admin\admin.php
D:\wwwJobs\uzaleznienia\subdomains\ankieta\admin\forms\edit-admin.php
D:\wwwJobs\uzaleznienia\subdomains\ankieta\admin\index.php
D:\wwwJobs\uzaleznienia\subdomains\ankieta\index.php
By the way, you may want to fix appropriate page in the on-line help: fussy → fuzzy 8)
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
User avatar
Rickard Johansson
Site Admin
Posts: 6799
Joined: 19 Jul 2006 14:29

Re: Tweak how fuzzy search results are presented

Post by Rickard Johansson »

Made a small tweak in next release (v14.73). Thanks!
User avatar
pjj
Posts: 2242
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: DONE? Tweak how fuzzy search results are presented

Post by pjj »

I have a feeling it was amended then, but now it's the same thing again:
project-file-search-fuzzy.png
project-file-search-fuzzy.png (44.24 KiB) Viewed 22 times
I'm looking for back and instead of getting backend* hits first, I get non-relevant ones--and when they are relevant, scattered visual cues make them hard to recognize at first.
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
Post Reply