What's the difference in searches using boolean operators
In the Label search section I read:
(today, overdue) @home Show items that are over due and due today and that are labeled with @home label.
7 days @home Show 7 days view of items that are labeled with @home label.
Then in the Boolean search section:
(today, overdue) & @home Show items that are over due and due today and that are labeled with @home label.
7 days & @home Show 7 days view of items that are labeled with @home label.
Are these searches identical? If so then what's the use of the & operator?
Asked by Alex Popescu on Oct 01, 2013 - 00:39
In these particular examples, the results would be identical, but for more complex searches, we recommend using boolean operators as the standard comma separation may at some point cause issues if the query includes many different elements.
Also, the comma separates parts of the results while & or | merges them, for example:
today, tomorrow, @home
would show you search results with 3 headers/separators, first: "Today" and below your tasks due today, next "Tomorrow" and all tasks that are due tomorrow etc. However searching for:
today | tomorrow | @home
Would give you just one longer list of tasks that meet either of these criteria.