How to select multiple filters in the Filter panel?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
axxccc
Posts: 7
Joined: Thu May 23, 2024 6:09 am

How to select multiple filters in the Filter panel?

Post by axxccc »

I want to be in the filter panel and select multiple filters at the same time. Currently, it's possible to ctrl multiple select, but it doesn't work.
void
Developer
Posts: 16733
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to select multiple filters in the Filter panel?

Post by void »

What filters are you trying?
Are you trying the built-in filters?
Does Audio and Video work as expected?

Everything will OR filters by default.
For custom filters, you may need to define a filter group.
filter groups are ANDed.
axxccc
Posts: 7
Joined: Thu May 23, 2024 6:09 am

Re: How to select multiple filters in the Filter panel?

Post by axxccc »

void wrote: Tue Jun 18, 2024 7:28 am What filters are you trying?
Are you trying the built-in filters?
Does Audio and Video work as expected?

Everything will OR filters by default.
For custom filters, you may need to define a filter group.
filter groups are ANDed.
how to use filter groups
void
Developer
Posts: 16733
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to select multiple filters in the Filter panel?

Post by void »

Add the following search to all your custom filters:

filter-group:"My Filter Group 1"

Use different names ("My Filter Group 1") where you want to AND filters.



You may have location filters, for example:

filter-group:"location" c:\folder1\folder2\
filter-group:"location" e:\folder1\
filter-group:"location" F:\folder1\
axxccc
Posts: 7
Joined: Thu May 23, 2024 6:09 am

Re: How to select multiple filters in the Filter panel?

Post by axxccc »

void wrote: Tue Jun 18, 2024 8:30 am Add the following search to all your custom filters:

filter-group:"My Filter Group 1"

Use different names ("My Filter Group 1") where you want to AND filters.



You may have location filters, for example:

filter-group:"location" c:\folder1\folder2\
filter-group:"location" e:\folder1\
filter-group:"location" F:\folder1\
I saw in another posting that you replied you could add: and-filter.
However, I have a filter that reads: wholefilename:$param.
Then, I wrote this: and-filter:wholefilename:$param: which did nothing.
axxccc
Posts: 7
Joined: Thu May 23, 2024 6:09 am

Re: How to select multiple filters in the Filter panel?

Post by axxccc »

void wrote: Tue Jun 18, 2024 8:30 am Add the following search to all your custom filters:

filter-group:"My Filter Group 1"

Use different names ("My Filter Group 1") where you want to AND filters.



You may have location filters, for example:

filter-group:"location" c:\folder1\folder2\
filter-group:"location" e:\folder1\
filter-group:"location" F:\folder1\
For example, I want to apply two filters at the same time:
and-filter: "C:\OneDrive\"
and-filter:wholefilename:$param.
The above test fails
Post Reply