CharlesEd 3 Posted December 2, 2014 Share Posted December 2, 2014 Is there any way to search on multiple tags? By that I mean Boolean search (AND, OR) using more than one tag. Thanks 1 Link to comment
Frank.dg 1,385 Posted December 2, 2014 Share Posted December 2, 2014 any: tag:1 tag:2 tag:3 tag:4 (using search syntax)ORtag:1 tag:2 tag:3 tag:4 any: (Ctrl-click-click-click-click in the Left Panel + "any:" command after tag string in search bar) 1 Link to comment
Level 5* jefito 5,586 Posted December 2, 2014 Level 5* Share Posted December 2, 2014 Yes. For searches that you type in, AND searches are default, e.g. tag:MyTag1 tag:MyTag2To make that an OR search, prepend with the any: operator, e.g. any: tag:MyTag1 tag:MyTag2Mixed AND/OR searches are not allowed in the Evernote search language. See https://dev.evernote.com/doc/articles/search_grammar.php In at least some of the clients, you can also perform multiple tag searches using the UI. For example, in the Windows client, you can Ctrl-select multiple tags from the tag panel to build up an AND search. Or select multiple tags from the search control. Not sure that OR searches are easily implementable that way, if at all. The Windows client does have a little Search Explanation control that allows you to turn an AND search into an OR search via dropdown, though. Link to comment
Level 5* jefito 5,586 Posted December 2, 2014 Level 5* Share Posted December 2, 2014 tag:1 tag:2 tag:3 tag:4 any:Note that the any: operator must precede any other terms except notebook: or stack: Link to comment
Frank.dg 1,385 Posted December 2, 2014 Share Posted December 2, 2014 tag:1 tag:2 tag:3 tag:4 any:Note that the any: operator must precede any other terms except notebook: or stack:This is the only way to do it if you're first clicking on multiple tags in the left panel. The only place the "any:" operator can go is at the end of the string, as far as I can see. Weirdly enough, it works. Link to comment
Level 5* jefito 5,586 Posted December 2, 2014 Level 5* Share Posted December 2, 2014 Hey, now that is weird. If you multi-select some tags, and postpend the any:, it does work. If you type in the same search with any: at the end, it doesn't. At a guess, the search filter parser -- which fails when any: isn't in a legal spot per the search grammar -- is only invoked on the actual text typed in the control, so it looks legal to the parser, and somehow gloms that together with the selected tag(s) to make a legal search. To test that theory, I selected a tag from the UI, and then added tag:3D any: to the search control, and that failed to produce an OR search, whereas appending any: tag:3D worked correctly. 1 Link to comment
Velectro 9 Posted September 22, 2017 Share Posted September 22, 2017 Hi, I'm trying to list all notes with reminder and with tag @Home or tag @Errands. I have tried " reminderOrder:* any: tag:@Home tag:@Errands" and does not work. Separately all works but it looks that Evernote does not like the combination of reminderOrder:* and any:. I tried several combination and orders and does not look to work in any way. Any thougths? Link to comment
Level 5* DTLow 5,698 Posted September 22, 2017 Level 5* Share Posted September 22, 2017 20 minutes ago, Velectro said: I'm trying to list all notes with reminder and with tag @Home or tag @Errands. It’s a limitation of Evernote’s search feature; you can’t combine And/Or My solution is separate searches and a Temp tag . I have this in a script (Mac), but you can do it manually Search any: tag:@Home tag:@Errands And assign Tag:Temp Then, search tag:Temp reminderOrder:* 2 Link to comment
Level 5* jefito 5,586 Posted September 22, 2017 Level 5* Share Posted September 22, 2017 1 hour ago, Velectro said: I'm trying to list all notes with reminder and with tag @Home or tag @Errands. I have tried " reminderOrder:* any: tag:@Home tag:@Errands" and does not work. In addition to what DTLow said, if you want to use the any: term: On 12/1/2014 at 11:26 PM, jefito said: Note that the any: operator must precede any other terms except notebook: or stack: On the other hand, there is a way to implement mixed AND/OR searches if you can use wildcards. For example, if @Home and @Errands are the only tags that you have that have a '@' at the start, then a search like "reminderOrder:* tag:@*" should work, since using wildcards act like OR filters. But that's not a general solution, just a side effect of wildcards. 2 Link to comment
HZHZ 0 Posted May 23, 2021 Share Posted May 23, 2021 this was working before but not any more. How to search multiple tags now?? Link to comment
Level 5 PinkElephant 5,577 Posted May 23, 2021 Level 5 Share Posted May 23, 2021 Maybe it depends on the platform you are using. I recently had issues on the iOS client with searches using the search language. Support ticket is pending. Link to comment
eric99 643 Posted May 23, 2021 Share Posted May 23, 2021 1 hour ago, PinkElephant said: Maybe it depends on the platform you are using. I recently had issues on the iOS client with searches using the search language. Support ticket is pending. It still works fine on my PC... Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now