Extension precedence while searching

General discussion related to "Everything".
Post Reply
notsu
Posts: 2
Joined: Tue Aug 15, 2023 12:27 pm

Extension precedence while searching

Post by notsu »

Is it possible to have some sort of file extension precedence while searching, such that for example .lnk files appear before everything else in the results? Been looking everywhere, can't seem to find any info on this.
therube
Posts: 4967
Joined: Thu Sep 03, 2009 6:48 pm

Re: Extension precedence while searching

Post by therube »

(At least in Everything 1.5 alpha, thinking you can do something like artificially inflate the runcount of .lnk & then do a search sorted by runcount...

Specifics escape me.)
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: Extension precedence while searching

Post by NotNull »

Other than the workaround @therube suggested, Everything does not have an option for weighted sorts.

It was suggested some time ago and if I am not mistaken, @void will look into this. Don't expect it anytime soon though.
notsu
Posts: 2
Joined: Tue Aug 15, 2023 12:27 pm

Re: Extension precedence while searching

Post by notsu »

Alright, thanks for the info
void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: Extension precedence while searching

Post by void »

Column formulas can be used to rank files.

However, Column formulas are currently designed as a once-off search, not for each search.

For example, include the following in your results:
<*.lnk column-a:="0"> | <* column-a:="1"> file: sort:column-a

This can be added as a filter under Search -> Add to filters
Post Reply