Add `has:tag` search operator

It would be great to include a has:tag operator for search. I’m planning to use it to exclude simple sub-entries (like nonactionable notes) from search results.

I think you can already do this. If I search for # I get all nodes with tags. And if I search for -# I get all nodes without tags.


You’re right. This is good enough for me! Thanks for the tip.

-@tag_name or -#tag_name isn’t working for me to exclude those tags.

That’s very strange. It’s working fine for me.