Boolean logic consists of three logical operators:

The more terms or concepts we combine in a search with OR logic, the more records we will retrieve.




Many search engines offer the option to do full Boolean searching requiring the use of the Boolean logical operators.
Examples:
Query:
I need information about cats.
Boolean logic: ORSearch: cats OR felines
Boolean logic: ANDSearch: dyslexia AND adults
Boolean logic: NOTSearch: radiation NOT nuclear
Boolean logic: OR, ANDSearch: (cats OR felines) AND behavior2. Implied Boolean logic with keyword searchingNote: Use of parentheses in this search is known as forcing the order of processing. In this case, we surround the OR words with parentheses so that the search engine will first process this part of the search. Next, the search engine with combine this result with the last part of the search. Using this method, we are assured that the OR terms are kept together as a logical unit.
Keyword searching refers to a search type in which you enter terms representing the concepts you wish to retrieve. Boolean operators are not used.
Implied Boolean logic refers to a search in which symbols are used to represent Boolean logical operators. In this type of search on the Internet, the absence of a symbol is also significant, as the space between keywords defaults to either OR logic or AND logic. Most well-known search engines, with the exception of Lycos and Northern Light, default to OR.
Examples:
Query:
I need information about cats.
Boolean logic: ORSearch: cats felines
Boolean logic: ANDSearch: +dyslexia +adults
Boolean logic: NOTSearch: radiation -nuclear
Boolean logic: OR, ANDSearch: cats felines +behavior3. Predetermined language in a user fill-in template
Some search engines offer a search template which allows the user to choose the Boolean operator from a menu. Often the logical operator is expressed with substitute language rather than with the operator itself.
Query:
I need information about cats
Boolean logic: ORSearch: Any of these words/Can contain the words/Should contain the words
Boolean logic: ANDSearch: All of these words/Must contain the words
Boolean logic: NOTSearch: Must not contain the words/Should not contain the words
Boolean logic: OR, ANDSearch: Combine options as above if the template allows multiple search statements
| Full Boolean | Implied Boolean | Template Terminology | |
| OR | college or university | college university
*see note below |
any of these words
can contain the words should contain the words |
| AND | poverty and crime | +poverty +crime | all of these words
must contain the words |
| NOT | cats not dogs | cats -dogs | must not contain the words
should not contain the words |
| NEAR, etc. | cats near dogs | N/A | near |
| Feature | Search Engine |
| Boolean operators | AltaVista
(Advanced Search)
Cyber411 Dogpile Excite HotBot HotBot SuperSearch NetFind Northern Light WebCrawler |
| Implied Boolean +/- | AltaVista
Excite HotBot HotBot SuperSearch Infoseek Lycos Lycos Pro Mamma MetaCrawler NetFind Northern Light PlanetSearch |
| Boolean logic
by template terminology |
Excite
(Power Search)
HotBot HotBot SuperSearch HuskySearch Infoseek Advanced Search Lycos Pro SavvySearch |
| Proximity operators | AltaVista
(Advanced Search)
Cyber411 Dogpile Lycos Pro WebCrawler |
Laura Cohen | June 1998
lcohen@cnsvax.albany.edu