Using Multiple Criteria for Complex Searches

You can use the Boolean operators AND, OR, and NOT to combine or negate criteria in the search box. These operators need to be spelled in capital letters (or they will be treated as ordinary text). In place of the AND operator, you can use a plus sign (+), and in place of the NOT operator, you can use a minus sign (-). You can also use parentheses to group criteria; items in parentheses separated by a space use an implicit AND operator. Table 9-4 provides some examples of combined criteria.

Table 9-4 Some Examples of Complex Search Values

This Search Value

Returns

Siechert AND Bott

Items in which at least one indexed element

(property, file name, or an entire word within

its contents) begins with or equals Siechert and

another element in the same item begins with or

equals Bott

title:("report" NOT draft)

Items in which the Title property contains the word

report and does not contain a word that begins

with draft

tag:tax AND author:Doug

Items authored by Doug that include Tax in the

Tags field

tag:tax AND author:(Doug OR Craig) Items authored by Doug or Craig, last modified AND modified:<1/1/09 before January 1, 2009, with Tax in the Tags field tag:tax AND author:(Doug OR Craig) Items authored by Doug or Craig, last modified AND modified:<1/1/09 before January 1, 2009, with Tax in the Tags field

Note

When you use multiple criteria based on different properties, an AND conjunction is assumed unless you specify otherwise . The search value tag:EdAuthor:Carl is equivalent to the search value tag:Ed AND Author.Carl.

Was this article helpful?

0 0
Digital Cancers

Digital Cancers

Get All The Support And Guidance You Need To Be A Success At Protecting Your PC. This Book Is One Of The Most Valuable Resources In The World When It Comes To The Damaging Facts About Computer Viruses.

Get My Free Ebook


Post a comment