Boolean Operators AND, OR, NOT
Boolean Operators AND, OR
Interrogate support Boolean values in the keyword search area. Boolean operators must be in ALL CAPS.
Search | Returns documents with… |
---|---|
fortune | The words fortune |
fortune magazine | The words fortune or magazine |
fortune AND magazine | The words fortune and magazine |
fortune OR magazine | The word fortune or the word magazine |
fortune, magazine | The word fortune or the word magazine |
“fortune magazine” | The exact phrase fortune magazine |
fortune NOT magazine | The word fortune and not the word magazine |
fortun* | Any words beginning with fortun, such as fortune, fortunately, fortunate |
money AND (fortune OR magazine) | The word money and the word fortune OR the word money and the word magazine
|
AND, OR Note
If a search string does not include parentheses, the order of precedence for a keyword search evaluates AND the OR expressions. For example, the search string A AND B OR C is evaluated as (A AND B) OR C.
Boolean Operator NOT
The NOT operator excludes documents that contain the term(s) after NOT.
Search | Returns documents with… |
---|---|
“fortune magazine” NOT “money magazine” | Explicit term fortune magazine and none with explicit term money magazine |
NOT Operator Note
The NOT operator cannot be used with just one term. Example: NOT fortune magazine will yield no results.