Searching Using AND OR or MINUS

Searching Using AND OR or MINUS

There are several operators that can be used when searching for content. Users can search for multiple criteria in the same field using AND, “quotes around search term” or + plus sign. Content can also be found using the OR operator or you can eliminate results using the minus sign. See examples for each below.

Using search operators AND, Quotes or Plus:

sa05-2010-usingAND1.jpg In the examples below, the terms “Troubleshoot” and “Farm” are used to search for articles.
In this example, the user is searching for both words “Troubleshooting” AND “Farm” using the AND operator.
sa05-2010-usingAND2.jpg Even without the AND operator, the results are the same if using quotes around the two search words.
sa05-2010-usingAND3.jpg In this example, the plus (+) operator is used and again the results are identical.

Using search operators OR or a Space

sa05-2010-usingOR1.jpg The term “PowerShell” or the term “SharePoint 2010” are both used to search for articles. Results containing either of the terms will display.
sa05-2010-usingOR2.jpg Users can search for multiple criteria in the same field using OR or a space. The results are the same regardless of how the search terms are entered.

Using search operator Minus

sa05-2010-usingminus1.jpg Users can omit specific criteria when searching by using the minus sign (-). In this example, articles that include “Bamboo” but do not include “2010” are displayed by entering Bamboo -2010 for the search string.