[Added] Feature request: Temporary excludes additions

Discussion related to "Everything" 1.5 Alpha.
Post Reply
aviasd
Posts: 135
Joined: Sat Oct 07, 2017 2:18 am

[Added] Feature request: Temporary excludes additions

Post by aviasd »

Hi,
I really like the new Temporary excludes feature.

I've got a couple of suggested additions ( If possible to add to that already huge TODO list ):

1. Checkboxes for each line in the exclude list. when enabled the current line is applied, when not it is not applied.

2. Ability to use everything search filter as a query: Previously I've used an "everything - filtered" filter to contain all my temp excludes
I.E:

Code: Select all

path: !\plex !\google !\windows\
it's rather hackish but gets the job done.
The temporary exclude feature does not support the everything search query. Would be nice if it would.
* Also for consistency ( I know it has some impact on performance though)

Thanks
Last edited by aviasd on Fri May 21, 2021 1:16 pm, edited 1 time in total.
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: Feature request: Temporary excludes additions

Post by void »

Thank you for your feedback aviasd,
1. Checkboxes for each line in the exclude list. when enabled the current line is applied, when not it is not applied.
Added to my TODO list.
2. Ability to use everything search filter as a query: Previously I've used an "everything - filtered" filter to contain all my temp excludes
I.E:
I will consider multiple filters in one.

Thank you for your suggestions.
* Also for consistency ( I know it has some impact on performance though)
Just to confirm the Everything filter:
path: !\plex !\google !\windows\
will have a search performance hit.

The temporary excludes will have no search performance hit, no matter the number of filters or the complexity of your filters.
Changing your temporary excludes will have a small performance hit.
aviasd
Posts: 135
Joined: Sat Oct 07, 2017 2:18 am

Re: Feature request: Temporary excludes additions

Post by aviasd »

void wrote: Sat Mar 27, 2021 11:30 am
The temporary excludes will have no search performance hit, no matter the number of filters or the complexity of your filters.
Changing your temporary excludes will have a small performance hit.
Great! :D Currently, my custom filter has some noticeable performance hit, it's great that temp excludes won't have it
NotNull
Posts: 5517
Joined: Wed May 24, 2017 9:22 pm

Re: Feature request: Temporary excludes additions

Post by NotNull »

void wrote: Sat Mar 27, 2021 11:30 am The temporary excludes will have no search performance hit, no matter the number of filters or the complexity of your filters.
Changing your temporary excludes will have a small performance hit.
I am trying to wrap my head around the concepts/inner workings of the Temporary Excludes.
Does that mean that the temporary excludes matches end up in a separate (internal) database?
(it's the only option I can think of that could explain all these characteristics)
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: Feature request: Temporary excludes additions

Post by void »

Yes, there is an internal database of all the temp-excluded files/folders.

This database is maintained the same way your normal Everything database is maintained.
Deleted files are removed, new files added etc...


Checking to see if a file/folder is in the temp-exclude database is instant.

Your temp exclude filters are applied to newly created files and when the database is loaded on startup.
This can be slow (usually less than 1 second).

Changing the temp exclude list will completely rebuild this internal file/folder database.
This can also be slow (usually less than 1 second).
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: Feature request: Temporary excludes additions

Post by void »

Everything 1.5.0.1259a adds checkboxes the temporary exclude list.
aviasd
Posts: 135
Joined: Sat Oct 07, 2017 2:18 am

Re: Feature request: Temporary excludes additions

Post by aviasd »

void wrote: Fri May 14, 2021 6:06 am Everything 1.5.0.1259a adds checkboxes the temporary exclude list.
Thanks :)
Works very nicely.
Maybe a default global shortcut key could make it more accessible ( I use Ctrl+Shift+E for "show all temporary excludes")
aviasd
Posts: 135
Joined: Sat Oct 07, 2017 2:18 am

Re: [Added] Feature request: Temporary excludes additions

Post by aviasd »

This is a small thing that does not need it's own thread:

When adding a directory to the temporary exclude filter - if the folder has a trailing slash (\), it's ignored. This is maybe unexpected.
I.E

Code: Select all

c:\temp\ 
is not working, as opposed to:

Code: Select all

c:\temp
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: [Added] Feature request: Temporary excludes additions

Post by void »

Thank you for the suggestion aviasd,

Everything 1.5.0.1267a will now trim the trailing path separator.
aviasd
Posts: 135
Joined: Sat Oct 07, 2017 2:18 am

Re: [Added] Feature request: Temporary excludes additions

Post by aviasd »

void wrote: Tue Jul 06, 2021 6:31 am Thank you for the suggestion aviasd,

Everything 1.5.0.1267a will now trim the trailing path separator.
Hi,
I cannot confirm this.
On 1267a adding a folder with a trailing path separator does not exclude the folder.
I.E:
Adding a folder filter: c:\temp\
does not work ( The path isn't filtered )
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: [Added] Feature request: Temporary excludes additions

Post by void »

Thanks for testing 1267a aviasd,

I've put this on my things to fix list.

I had only fixed adding a folder (not a filter).
aviasd
Posts: 135
Joined: Sat Oct 07, 2017 2:18 am

Re: [Added] Feature request: Temporary excludes additions

Post by aviasd »

void wrote: Tue Jul 06, 2021 7:15 am Thanks for testing 1267a aviasd,

I've put this on my things to fix list.

I had only fixed adding a folder (not a filter).
Just to make sure,
I'm adding a filter in Index->Add Temporary Exclude filter
And then a folder.
Image
I was not aware there was another way..
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: [Added] Feature request: Temporary excludes additions

Post by void »

Thanks for confirming, I'm seeing the same thing here.

I will work on a fix..

I was not aware there was another way..
I added a folder and hit F2 to rename and manually appended the trailing \
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: [Added] Feature request: Temporary excludes additions

Post by void »

Everything 1.5.0.1268a will now ignore the trailing path separator in temporary exclude file/folder filters.
programmablesoda
Posts: 18
Joined: Wed Jan 22, 2020 7:37 am

Re: [Added] Feature request: Temporary excludes additions

Post by programmablesoda »

Sometimes I don't want to have any results from the recycle bin, so Temporary Excludes is perfect for this!
However, it doesn't seem to work with the setting:
!c:\$Recycle.Bin !i:\$RECYCLE.BIN !j:\$RECYCLE.BIN !k:\$RECYCLE.BIN !l:\$RECYCLE.BIN
When I search for "bluejeans !c:\$Recycle.Bin !i:\$RECYCLE.BIN !j:\$RECYCLE.BIN !k:\$RECYCLE.BIN !l:\$RECYCLE.BIN" the recycle bin is excluded.
When I set temp excl to "!c:\$Recycle.Bin !i:\$RECYCLE.BIN !j:\$RECYCLE.BIN !k:\$RECYCLE.BIN !l:\$RECYCLE.BIN" the recycled files still show up.
Am I doing something wrong?
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: [Added] Feature request: Temporary excludes additions

Post by void »

Please try without the ! prefix.

The ! operator means NOT.

The NOT operator is not needed or supported when using the Temporary Exclude List.

Please add the following folders to your Temporary Exclude List:
c:\$Recycle.Bin
i:\$RECYCLE.BIN
j:\$RECYCLE.BIN
k:\$RECYCLE.BIN
l:\$RECYCLE.BIN
programmablesoda
Posts: 18
Joined: Wed Jan 22, 2020 7:37 am

Re: [Added] Feature request: Temporary excludes additions

Post by programmablesoda »

duh! thanks

NOTE: because excludes are the opposite of the search bar, they are ANDs instead of ORs like in my "!" example, so each directory must be a separate entry. Once I followed those instructions, it works perfectly!
Post Reply