DONE? Tweak how fuzzy search results are presented

Make a request or discuss new features.
Post Reply
User avatar
pjj
Posts: 2255
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 7680 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: 6832
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: 2255
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 2381 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
User avatar
Rickard Johansson
Site Admin
Posts: 6832
Joined: 19 Jul 2006 14:29

Re: DONE? Tweak how fuzzy search results are presented

Post by Rickard Johansson »

Should work better now in next release. Thanks!
User avatar
pjj
Posts: 2255
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: DONE? Tweak how fuzzy search results are presented

Post by pjj »

Rickard Johansson wrote: 27 Jun 2025 17:08 Should work better now in next release. Thanks!
And it did, but now (16.44) it's the same old way again :( :(
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
User avatar
Rickard Johansson
Site Admin
Posts: 6832
Joined: 19 Jul 2006 14:29

Re: DONE? Tweak how fuzzy search results are presented

Post by Rickard Johansson »

Can you show me an example?
User avatar
pjj
Posts: 2255
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: DONE? Tweak how fuzzy search results are presented

Post by pjj »

I just sent you two.
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
User avatar
pjj
Posts: 2255
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: DONE? Tweak how fuzzy search results are presented

Post by pjj »

Yes, this works much better! :-D You could leave it as is--or make another small tweak; for this I'm sending another screenshots.
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
Post Reply