Preferred Term (PT)

Use the preferred term operator (PT) to replace a term in a query with the preferred term that has been defined in a thesaurus for the term.

Syntax

Syntax Description
PT(term[,thes]) Replaces the specified word in a query with the preferred term for term.

term

Specify the operand for the preferred term operator. term is replaced by the preferred term defined for the term in the specified thesaurus. However, if no PT entries are defined for the term, term is not replaced in the query expression and term is the result of the expansion.

You cannot specify expansion operators in the term argument.

thes

Specify the name of the thesaurus used to return the expansions for the specified term. The thes argument is optional and has a default value of DEFAULT. As a result, a thesaurus named DEFAULT must exist in the thesaurus tables before using any of the thesaurus operators.

Example for PT Operator

The term automobile has a preferred term of car in a thesaurus. A PT query for automobile returns all documents that contain the wordcar. Documents that contain the wordautomobile are not returned.

CTX_THES.PT in CTX_THES Package form more information on browsing the preferred terms in your thesaurus