The proximity operators, NEAR and ONEAR, let users search for a pair of terms that must occur within a given distance from each other in a document.

The document is matched if both terms are present in the document, and if the terms are within the specified number of words from each other.

Wildcards are not supported in term specifications.

The syntax for using the proximity operators is as follows:

term1 NEAR/num term2
term1 ONEAR/num term2

In this example:

Copyright © Legal Notices