A proximity search looks for terms that are within a specific distance from one another. To perform a proximity search, add the tilde character ~ and a numeric value to the end of a search phrase.
For example, to search for a "Oregon" and "Portland" within 10 words of each other in a document, use the search:
"Portland Oregon"~10
Check this video for an example