My Oracle Support Banner

Unable to Force to Use Domain Index for a Query with Multiple Contains (Doc ID 465078.1)

Last updated on JANUARY 30, 2022

Applies to:

Oracle Text - Version 9.2.0.8 to 11.2.0.4 [Release 9.2 to 11.2]
Information in this document applies to any platform.

Symptoms

On Oracle Standard Edition (SE) executing below query results in using full table scan instead of using the text index. Same query works well on Oracle Enterprise Edition (EE) as a BITMAP OR is used to join the two contains results. As bitmap indexes are not available on SE I would have hoped for some other join to occur which would still use the text indexes.

SELECT count(*)
FROM fast_select
WHERE
CONTAINS(search,'protease within bio',00)>0
OR
CONTAINS(search,'protease within blast',10)>0

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.