Search Proximity

Use Proximity to add restrictions to how QuickFinder™ handles the operators you used during a search. Typically, QuickFinder finds documents that contain the search word anywhere within the document. However, if you wanted to search for apples AND oranges within the same sentence, you could use the /SENTENCE switch to indicate that the words should be located within the same sentence:

/SENTENCE (apples AND oranges)

If QuickFinder located a document containing the phrase apples, pears, tangerines, and oranges, it would return the document because these words are located within the same sentence.

Refer to the following table for a list of query switches and how to use them.

Switch

Purpose

Example

/WITHIN=number, or number

Sets the maximum number allowed between the words you are searching for.

/WITHIN=4 (apple AND orange)
or
/4 (apple AND orange)

/SENTENCE

Indicates that words must appear in the same sentence.

/SENTENCE (apple AND orange)

/PARAGRAPH

Indicates that words must appear in the same paragraph.

/PARAGRAPH (apple AND orange)

/DOCUMENT

Indicates that words must appear in the same document. (This is the default setting.)

/DOCUMENT (apple AND orange)


 Related Topics

Combining Search Operators
Performing Field Searches

Using Search Parameters

Sorting Search Results

Printing Search Results

A trademark symbol (®, ™, etc.) denotes a Novell trademark. An asterisk denotes a third-party trademark. For more information, see Legal Notices.