AND and OR connectors

<< Click to Display Table of Contents >>

Navigation:  Appendix B - Effective Keyword Searches >

AND and OR connectors

The AND and OR connectors connect two terms.

When the AND connector is used, both terms (before and after the AND) must be found in a document.

When the OR connector is used, either of the term (before and after the OR) must be found in a document.

For example:

When "apple pie" AND "poached pear" are the terms, the search returns any documents that contain both phrases.

When "apple pie" OR "poached pear", the search returns any documents that contain "apple pie," or "poached pear," or both.

When using more than one connector, use parentheses to indicate precisely what to search .

For example, without parentheses the search query apple AND pear OR orange has two possible meanings:

1.The document must contain apple and pear (both terms) or just the term orange

(apple and pear) or orange

 

2.The document must contain the term apple and either the term pear or orange

Apple and (pear or orange)