Full-Text Search Operators

The special search operators that you use to perform full-text searches are part of the Verity search engine. Table 5-3 describes the Verity search operators provided by the Full-Text Search engine.

Table 5-3: Verity search operators

Operator Name

Description

accrue

Selects documents that contain at least one of the search elements specified in a query. The more search elements there are, the higher the score will be.

and

Selects documents that contain all the search elements specified in a query.

complement

Returns the complement of the score value (the score value subtracted from 100).

in

Selects documents that contain the search criteria in the document zone specified.

like

Selects documents that are similar to the sample documents or passages specified in a query.

near

Selects documents containing the specified search elements, where the closer the search terms are to each other in a document, the higher the document’s score.

near/n

Selects documents containing two or more search terms within n number of words of each other, where n is an integer up to 1000. The closer the search terms are to each other in a document, the higher the document’s score.

or

Selects documents that contain at least one of the search elements specified in a query.

paragraph

Selects documents that include all the search elements you specify within the same paragraph.

phrase

Selects documents that include a particular phrase. A phrase is a grouping of two or more words that occur in a specific order.

product

Multiplies the score values for each of the items of the search criteria.

sentence

Selects documents that include all the specified words in the same sentence.

stem

Expands the search to include the specified word and its variations.

sum

Adds the score values for all items in the search criteria.

thesaurus

Expands the search to include the specified word and its synonyms.

topic

Specifies that the search term you enter is a topic.

wildcard

Matches wildcard characters included in search strings. Certain characters indicate a wildcard specification automatically.

word

Performs a basic word search, selecting documents that include one or more instances of the specified word.

yesno

Converts all nonzero score values to 100.