Skip to Main Content

ENGL 101: McGill, R. (Fall 2024): Boolean operators

Boolean operators

Most databases don't understand the natural language we speak and need help understanding what we're looking to find. For this, they require a special set of conventions, including: Logical or Boolean operators, wildcard and truncation symbols, and nesting. Databases and internet search engines apply these rules differently, so check the HELP files in the database you are using to find out more.

Boolean Logic consists of three logical operators (connectors): AND, OR and NOT

Boolean Operator: AND

  • Finds sources containing two or more ideas
  • The database will only retrieve items containing both words
  • AND narrows your search
  • You can use AND many times in one search
  • Example: electronic AND voting
Boolean AND 

 

 

Boolean Operator: OR

  • Use OR when searching for synonyms
  • OR tells the database that the words can be used interchangeably, so it will retrieve items containing either word
  • OR broadens your search to include synonyms and related words
  • You can use OR many times in one search Example: electronic OR internet OR web
Nesting search terms using: parenthesis ( )
  • Make a complex search using both AND and OR by placing parentheses around synonyms so you don't have to repeat searches
  • Nesting saves you time by allowing you to search multiple synonyms at once
  • Example: (electronic OR internet OR web) AND (vote OR voting) - this cuts down on having to do multiple searches for the combinations of keywords

Boolean OR

 

 

 
Boolean Operator: NOT

  • Use NOT when you wish to exclude records from your search results 
  • Example: pets NOT dogs
  • Be careful when using NOT! The term you want may be present in an important way in results that also contain the word you wish to avoid   


Boolean NOT
 

 

CC BY SA license

Except where otherwise noted, the content in these guides by Tacoma Community College Library is licensed under CC BY SA 4.0.
This openly licensed content allows others to cite, share, or modify this content, with credit to TCC Library. When reusing or adapting this content, include this statement in the new document: This content was originally created by Tacoma Community College Library and shared with a CC BY SA 4.0 license.

Tacoma Community College Library - Building 7, 6501 South 19th Street, Tacoma, WA 98466 - P. 253.566.5087

Instagram logo

Visit us on Instagram!