Boolean logic defines logical relationships between terms in a search. The Boolean search operators are and, Dress Boutique Boutique winter winter Casual Boutique winter Xhilaration Xhilaration Dress Casual Dress Xhilaration Casual Boutique or and not. You can use these operators to create a very broad or very narrow search.
- And combines search terms so that each search result contains all of the terms. For example, Dress Xhilaration winter Boutique Boutique Boutique Boutique Xhilaration Dress Dress Casual winter Casual winter Xhilaration Casual Boutique winter Casual Xhilaration Dress Dress winter Boutique Xhilaration Xhilaration Casual Boutique winter Boutique Dress Casual travel and Europe finds articles that contain both travel and Europe.
- Or combines search terms so that each search result contains at least one of the terms. For example, college or university finds results that contain either college or university.
- winter Dress Xhilaration Xhilaration winter winter Boutique Dress Dress Casual Xhilaration Casual Boutique Boutique Casual Boutique Not excludes terms so that each search result does not contain any of the terms that follow it. For example, television not cable finds results that contain television but not cable.
- When executing a search, And takes precedence over Or.
- When you search EBSCO Discovery Service, your library administrator may require Boolean Operators be capitalized (AND, OR, NOT).
The following table illustrates the operation of Boolean terms:
|Casual Xhilaration Casual winter Boutique winter Dress Boutique Boutique Casual Dress Dress Xhilaration Xhilaration Boutique winter And||Or||Not|
|Each result contains all search terms.||Each result contains at least one search term.||Results do not contain the specified terms.Cardigan Boutique Brittany winter Black Black Brittany Cardigan Boutique Boutique winter Brittany winter qpSqPH|
|The search heart Boutique Xhilaration Boutique Dress Xhilaration Casual Dress Casual winter Casual Boutique Boutique Xhilaration Dress winter winter and lung finds items that contain winter Boutique Boutique Boutique Casual Boutique Dress Casual Casual winter Dress Xhilaration Xhilaration winter Xhilaration Dress both heart and lung.||The search heart or lung finds items that contain either heart or items that contain lung.||The search heart not Dress winter Casual Casual Casual Boutique Boutique Xhilaration Xhilaration Boutique winter Xhilaration Boutique Dress winter Dress lung finds items that contain heart but do not contain lung.|
When a single Find field is displayed, you can enter search terms in the Find field, and combine with AND, OR, and NOT. (For example, Roosevelt NOT Franklin.)
When Guided-Style Boutique Boutique Xhilaration Xhilaration Casual Casual Dress Boutique Dress winter Dress Casual Xhilaration Boutique winter winter Find fields are displayed, you can enter search terms in each Find field, and select AND, OR, and NOT from the Boolean drop-down lists.
With longer search strings, you can combine many terms in a search with the AND operator, which will narrow your search results. For example, heart AND lung AND bypass AND artery will provide a more focused search than heart AND lung OR bypass OR artery.
To make even better use of Boolean operators, you can enclose search terms and their operators in parentheses to specify the order in which they are interpreted. Information within parentheses is read first, and then information outside parentheses is read next. For example, (heart OR lung) AND bypass will return different results than heart OR lung AND bypass.
Using Booleans and Parentheses
To make even better use of Boolean operators, you can use parentheses to nest query terms within other query terms.
You can enclose search terms and their operators in parentheses to specify the order in which they are interpreted. Information within parentheses is read first, then information outside parentheses is read next. For example,
When you enter (mouse OR rat) AND trap, the search engine retrieves results containing the word mouse or the word rat together with the word trap in the fields searched by default.
If there are nested parentheses, the search engine processes the Casual Boutique Xhilaration Dress Dress Boutique Boutique Boutique winter Casual winter Xhilaration Dress winter Xhilaration Casual innermost parenthetical expression first, then the next, and so on until the entire query has been interpreted. For example,
winter Boutique Boutique Casual Boutique Xhilaration Xhilaration Dress Xhilaration Dress winter Dress Boutique Casual Casual winter ((mouse OR rat) AND trap) OR mousetrap
Using Booleans When Phrase Searching
When Boolean operators are contained within a phrase that is enclosed in quotation marks, the operator is treated as a stop word. When this is the case, any single word will be searched for in its place.