Table of ContentsIndexPrevious pageNext page

Proximity Searching

You can focus a search more closely by using Verity Query Language operators to retrieve documents that contain the search terms in close proximity to each other: that is, near each other, in the same sentence, or in the same paragraph. The operators for proximity searching are NEAR, SENTENCE, and PARAGRAPH.

NEAR Operator

The NEAR operator finds pages matching specified search terms within close proximity to each other. The closer the search terms are to each other, the higher the document appears in the results list. For example, to find pages that contain HTML and publishing within close proximity of each other, use this query:

Search example

SENTENCE and PARAGRAPH Operators

The SENTENCE and PARAGRAPH operators are used to specify a search within a sentence and paragraph. The syntax for using these operators is similar. For example, to find pages that contain HTML and publishing within the same paragraph, use this query:

Search example

Table of ContentsIndexPrevious pageNext page