Oracle8i interMedia Text Reference
Release 2 (8.1.6)

Part Number A77063-01

Library

Product

Contents

Index

Go to previous page Go to beginning of chapter Go to next page

Query Operators, 15 of 26


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.

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.

Examples

The term dog has a related term of wolf. A RT query for dog returns all documents that contain the word dog and wolf.

Related Topics

You can browse a thesaurus using procedures in the CTX_THES package.

See Also:

For more information on browsing the related terms in your thesaurus, see CTX_THES.RT in Chapter 11


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index