Boolean Operators

Close this window
Help Table of Contents

The operators AND, OR, NOT, and NEAR can be used in STNEasy searches.

The operators can be applied in two ways:

Use Boolean operators in their usual sense:

Search queries are processed from left to right. To ensure that your search is processed in the way you intend, use parentheses to specify word groupings within a search box. For example, if you enter:

red and black or gray

you retrieve records that contain red and black and records that contain gray. However, if you enter:

red and (black or gray)

you retrieve records that contain red and black and records that contain red and gray.

Multiple terms may be entered in a search box without an operator between them. In these cases, the NEAR operator is assumed. For example, enter:

acid rain

to retrieve only records where acid and rain appear in the same sentence.