Reserved Words and Characters

Table 4-3 lists the Oracle Text reserved words and characters that must be escaped when you want to search them in CONTAINS queries. Refer to Table 4-2 for the rule for when to use braces {} or the backslash \ for the escape sequence.

Table 3 Reserved Words and Characters

Reserved Words Reserved Characters Operator
ABOUT (none) ABOUT
ACCUM , Accumulate
AND & And
BT (none) Broader Term
BTG (none) Broader Term Generic
BTI (none) Broader Term Instance
BTP (none) Broader Term Partitive
EQUIV = Equivalence
FUZZY ? fuzzy
(none) { } escape characters (multiple)
(none) \ escape character (single)
(none) ( ) grouping characters
(none) [ ] grouping characters
HASPATH (none) HASPATH
INPATH (none) INPATH
MDATA (none) MDATA
MINUS - MINUS
NEAR ; NEAR
NOT ~ NOT
NT (none) Narrower Term
NTG (none) Narrower Term Generic
NTI (none) Narrower Term Instance
NTP (none) Narrower Term Partitive
OR | OR
PATTERN (none) PATTERN
PT (none) Preferred Term
RT (none) Related Term
(none) $ stem
(none) ! soundex
SQE (none) Stored Query Expression
SYN (none) Synonym
(none) > threshold
TR (none) Translation Term
TRSYN (none) Translation Term Synonym
TT (none) Top Term
(none) * weight
(none) % wildcard character (multiple)
(none) _ wildcard character (single)
WITHIN (none) WITHIN