Related Term (RT)
Use the related term operator (RT) to expand a query to include all related terms that have been defined in a thesaurus for the term.
Syntax
| Syntax | Description |
|---|---|
| RT(term[,thes]) | Expands a query to include all the terms defined in the thesaurus as a related term for term. |
term
Specify the operand for the related term operator. term is expanded to include term and all the related entries defined for term in thes.
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 RT Operator
The term dog has a related term of wolf. An RT query for dog returns all documents that contain the word dog and wolf.
Related Topics
CTX_THES.RT in CTX_THES Package for more information on browsing the related terms in your thesaurus