The CONTAINS operator and word indexes
- Last Updated: January 26, 2026
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
For the AVM to process a query that uses the CONTAINS operator,
the field mentioned in the WHERE option must participate
in a word index. For example:
|
The AVM looks for the word indexes associated with the Item record
and its CatDescription field. If no such word indexes
are found, the AVM reports a run-time error. Otherwise, the AVM
uses the word indexes to retrieve the Item records
whose CatDescription field contains the string hockey.
For more information on the CONTAINS operator, see Record phrase.