When you use the Advanced Search option to search for information, you can use the search operators AND, OR, NEAR, and ANDNOT to narrow your search. Each operator is described below. You can enter an operator in either lowercase or uppercase letters ("and" is interpreted the same as "AND").
Bees love Honey
This phrase finds any topic containing the three words "Bees," "love," and "Honey." This is the same as specifying Bees AND love AND Honey. However, when quotes are used, the system searches for the entire phrase. For example:
"Bees love Honey"
This phrase finds any topic containing the phrase "Bees love Honey."
The OR operator selects topics containing either phrase connected by OR operators. For example:
Bees OR Honey
This query displays topics containing either the word "Bees" or the word "Honey."
The NEAR operator selects any topic in which one phrase appears within a certain number of words of the second phrase. The default value is 8 words. For example:
Bees NEAR Honey
This query finds any topic in which the word "Bees" appears within 65 characters before or after the word "Honey."
The ANDNOT operator selects any topic that does contain the phrase preceding ANDNOT, but doesn't contain the phrase following ANDNOT. For example:
Bees ANDNOT Honey
This query finds topics containing the word "Bees" but not the word "Honey."
When you use the Search button to search for information, you can use multiple search operators to define more complex search criteria. For example, if you enter:
honey AND bees ANDNOT hives
in the Advanced Search box, the system will match topics that contain the words "honey" and "bees" but do not contain the word "hives."
By default, operators are evaluated from left to right. You can use parentheses to specify a different order-- Operators within parentheses are evaluated first.
Query | Searches For |
honey or bees and hives | Topics containing either the word honey or the word bees in addition to the word hives. |
honey or (bees and hives) | Topics containing the word bees and the word hives or topics containing the word honey. |
honey or bees andnot hives | Topics containing either the word honey or the word bees but not the word hives. |
honey or (bees andnot hives) | Topics containing the word bees but not the word hives or topics containing the word honey. |