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 Enhanced 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.

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.

typo/n

Expands the serach to include the specified word plus words that are similar. The optional n variable specifies the maximum number of errors between the query term and the matched term.

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.