WNCLN Library Catalog FAQ Keyword Search Tips
How do I use Boolean operators?
|
|
![]() |
Count the records (dots) retrieved by this search: | ||
| jazz set | 21 | ||
| blues set | 20 | ||
| jazz or blues set | 32 | ||
| Every record in the jazz or blues set contains at least one of the search terms jazz or blues. 9 records that contain both terms appear where the sets overlap. | |||
|
jazz
|
blues | These search results demonstrate that you should use OR if you want to retrieve either this term or that term. (Of course, you can OR more than two terms together.) OR always broadens a search. | ||
|
(The entire turquoise area) |
||||
![]() |
Count the records (dots) retrieved by this search: | ||
| jazz set | 21 | ||
| blues set | 20 | ||
| jazz and blues set | 9 | ||
| The result of this search is jazz and blues, the intersection of the jazz set and the blues set. Every record must contain both jazz and blues. | |||
|
jazz
|
|
blues | Use AND when you want to combine search terms. AND always narrows a search. | |
|
(Where the sets overlap) |
||||
![]() |
Count the records (dots) retrieved by this search: | ||
| jazz set | 21 | ||
| blues set | 20 | ||
| jazz and not blues set | 12 | ||
| The part of the jazz set that does not contain records in the blues set is retrieved as the jazz and not blues set. | |||
|
jazz
|
| | blues | This last search eliminates all records that contain the term blues. If a book compares jazz with blues, you might lose it from your search. Therefore, use AND NOT with restraint and be aware of the consequences. | |
|
(Turquoise area) |
||||
|
II. Using parentheses in searches with more than one Boolean operatorSometimes a focused search must combine several related words for one idea with another word or words, as in the search: (logging or clearcutting) and rainforests.In this search, we used Boolean OR to combine the related words: logging OR clearcutting. Then we used Boolean AND to combine these words with rainforests. The parentheses ensure that results are what we expect.
The library catalog processes your search from left to right, but it processes
all the Boolean AND operators BEFORE processing any Boolean OR operators.
To change this order, group synonyms (or terms that belong together) with
parentheses. Anything enclosed in parentheses is evaluated first. To see
how this works, compare the two searches below:
|
| lacrosse or soccer and history | Retrieves 50+ items
Combines soccer and history Retrieves all books about lacrosse This is not what you wanted! |
| (lacrosse or soccer) and history | Retrieves 25+ items
Combines lacrosse or soccer "ANDs" those results with history This is exactly what you wanted! |
To Find: Use: university or universities universit* legislate, legislates, legislator, legislators, legislation, or legislating legislat*
AND NOT eliminates all catalog records that contain the term preceded by AND NOT, but it is a useful tool when a search word has several unrelated meanings. You also can use AND NOT to exclude some commonly discussed aspect of a subject.
For example, if you are doing a term paper on banks or banking in North Carolina, and you keep getting titles about the Outer Banks of North Carolina, you could tighten up your search by using AND NOT:
North Carolina bank* and not outerIf you are researching salamanders but do not want to look at anything about newts, you could do this:
salamanders and not newtsHowever, you should be aware that any book with chapters about both salamanders and newts will be eliminated from your search results. So, AND NOT is a very risky operator to use in this search!
For example, using keywords found in subjects will tend to lead you to towards more relevant items while giving you fewer hits to review at the same time!
appalachia* and s:history
Go to the Keyword Search screen. | Back to FAQs
Top of document | Questions? Email
the Webmaster
ASU Library | WCU
Library | UNCA Library
| WNCLN Catalog
| ABC Express