+ Add Question

What's the difference in searches using boolean operators

AP

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?

All responses

David Trey staff
Replied on Oct 01, 2013 - 11:57 UTC

Hello Alex,

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.


Best regards,
David