Creating Proximity Searches
Proximity searches return results of keywords appearing within a defined span of words within the same document. Terms are entered as one line, enclosed within quotes or parentheses with a tilde and a number defining the span of words. Using NOT enables you to create “negative proximity” conditions.
Examples
The following proximity search locates document with the term apple
and pie
, where PIE is be within 40 words of APPLE in the extracted text or metadata:
(apple pie)~40
Such as....
The apple was used to make the pie .
(apple* orange)~10
will search APPLE and wildcard variations of APPLE within 10 words of ORANGE
Such as ...
An apple is not the same as an orange.
Applesauce does not taste like orange juice.
(apple* NOT orange)~3
will search APPLE and wildcard variations of APPLE not within 3 words of ORANGE
(“apple juice” orange)~3
will search the phrase “APPLE JUICE” within 3 words of ORANGE
Such as ...
The apple juice is not orange in color.
(“apple juice” NOT orange)~3
will search the phrase “APPLE JUICE" not within 3 words of ORANGE