Jump to content
barley123

can you do AND/OR with tag search?

Recommended Posts

can you do AND/OR with tag search?

so suppose I have tags  bob, tod, john.

so for example, I want to search for 

A)(bob OR tod)   <-- documents tagged bob, as well as documents tagged tod. 

B)(bob AND tod)    <-- documents that have both tags. so each document shown has to have both tags

C) (bob AND (tod or john)) <-- speaks for itself.

 

 

Share this post


Link to post

A) that's an ANY search in EN

B) That's an ALL search in EN

C) Nope.  No Boolean search capability in EN.  Workaround is to do  an ANY search on Tod and John, tag results  with a temporary tag, and then do an ALL search on the temporary tag and Bob.

  • Like 1

Share this post


Link to post

To back up Moe's Cal's post, some references:

Evernote's advanced search syntax: https://help.evernote.com/hc/en-us/articles/208313828-How-to-use-Evernote-s-advanced-search-syntax

A bit more technical: Evernote search grammar: https://dev.evernote.com/doc/articles/search_grammar.php

Basically, any search that begins with any: is an OR search. All other searches are AND searches. No mixing. You can get some measure of AND/OR behavior by using wildcards, for a contrived example, tag:data* language could be used to match notes that have either of the tags "database" OR "data structure"  AND the literal term "language", but that's not generally useful.

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...