The AND, OR, NOT, and NEAR operators enable you to precisely define your search by creating a relationship between search terms. The following table shows how you can use each of these operators. If no operator is specified, AND is used. For example, the query "spacing border printing" is equivalent to "spacing AND border AND printing."

Search For Example Results
Both terms in the same topic. dib AND palette Topics containing both the words "dib" and "palette".
Either term in a topic. raster OR vector Topics containing either the word "raster" or the word "vector" or both.
The first term without the second term. ole NOT dde Topics containing the word "OLE," but not the word "DDE".
Both terms in the same topic, close together. user NEAR kernel Topics containing the word "user" within eight words of the word "kernel".
Note: The |, &, and ! characters don't work as boolean operators (you must use OR, AND, and NOT).

See Also
Searching for Words and Phrases | Using Nested Expressions