Hi.
I love the ancestor search parameter but it won’t work if you want to use it to exclude stuff.
Can replicate in chrome on windows, Windows app and phone Android.
EG:
ancestor:inbox
Only shows items with ancestor inbox
-ancestor:inbox
Does not filter the search result in any way.
See example:

Hi Kenneth. It looks to me like the search is working as I’d expect. Searching for -ancestor:inbox
hides everything under “Inbox”. It doesn’t hide “Inbox” itself because that node doesn’t have an ancestor called “inbox”.
EDIT: To get the behavior I think you’re expecting, try the search -ancestor:inbox -inbox
2 Likes
Ah sorry. You’re totallly right!