Jump to content
  • 0

(Archived) Searching with any: unexpected result


Pete248

Idea

Posted

Try the following.

Make 5 text notes:

1.) Text: New York, Tag: city

2.) Text: San Francisco, Tag: city

3.) Text: New York, Tag: none

4.) Text: San Francisco, Tag: none

5.) Text: Las Vegas, Tag: city

Type the following search string into the search field:

tag:city any: "New York" "San Francisco"

I would have expected this finds only 1. and 2. (notes tagged with city and text either "New York" or "San Francisco").

In fact it finds all 5. (notes either tagged with city or text "New York" or "San Francisco").

Something wrong with the any: search or something wrong with my understanding, how the any: search in Evernote should work?

Pete

2 replies to this idea

Recommended Posts

Posted

The "any:" operator must come before any tags or words. I.e.:

any: tag:city "New York" "San Francisco"

This is a "global" union, and doesn't permit arbitrary boolean logic within a search expression.

Posted

Thanks.

The "any:" operator must come before any tags or words. I.e.:

any: tag:city "New York" "San Francisco"

Although my test seems to indicate, that the existence of the any: operator anywhere within the search string changes the the behaviour into a union search.

Pete

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...