Two terms in the same document |
red and dog |
Documents with both the words "red" and "dog" |
Either of two terms in a document |
red or dog |
Documents with the words "red" or "dog" |
One term without a second term |
red and not dog |
Documents with the word "red" but not "dog" |
Two terms that are close together in the same document red |
red near dog |
Documents with the word "red" near the word "dog" |
Either of two terms and not two other terms if they are close together |
red or dog and not (black near cat) |
Documents with the word "red" or "dog" and not the words "black"
and "cat" if they are within 50 words of each other |
A phrase that has two or more words together |
"red dog" |
Documents with the words red dog right next to each other |