How to Search for Documents Not Containing a Specific Word Using Oracle Text (Doc ID 1581107.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Text - Version 10.2.0.5 and later
Information in this document applies to any platform.

Goal

How to search for documents not containing a specific word using Oracle Text.

Oracle Text provides the  ~ (NOT) operator but it allows only to search for documents that contain one query term and not another. The following note shows some samples on how to search for documents that do not contain a specific word.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms