What's the difference between these two filter expressions?

General discussion related to "Everything".
Post Reply
rdbmurfb
Posts: 2
Joined: Fri Nov 28, 2025 6:09 pm

What's the difference between these two filter expressions?

Post by rdbmurfb »

What's the difference between these two filter expressions?

file: path:!demo
file: nopath:demo

I saw they return different results, but I don't quite understand the logic.
Thanks.
void
Developer
Posts: 19830
Joined: Fri Oct 16, 2009 11:31 pm

Re: What's the difference between these two filter expressions?

Post by void »

file: path:!demo
file: == Match files only
path: == Match full path
! = NOT

Match files only where demo is not in the full path.


file: nopath:demo
nopath: == match name part only

Match files only where demo is in the name part.



Please try pathpart: to match the path part only:
file: pathpart:!demo




Search Operators
Search Modifiers
file:
path:
no-path:
path-part:
rdbmurfb
Posts: 2
Joined: Fri Nov 28, 2025 6:09 pm

Re: What's the difference between these two filter expressions?

Post by rdbmurfb »

Thank you!
Post Reply