My Oracle Support Banner

Text Wildcard Query Fails with DRG-51030 Error (Doc ID 473245.1)

Last updated on MARCH 01, 2018

Applies to:

Oracle Text - Version to [Release 10.1 to 12.1]
Information in this document applies to any platform.


A text wildcard query returns ODCIIndexStart() and DRG-51030 error.


SELECT <something>
FROM <table_name>
WHERE CONTAINS (text, 'boo%') > 0;
select ... from ... where contains (text ,'boo%') > 0
ERROR at line 1:
ORA-29902: error in executing ODCIIndexStart() routine
ORA-20000: Oracle Text error:
DRG-51030: wildcard query expansion resulted in too many terms

Problem still persists after setting WILDCARD_MAXTERMS to 15000 and the index was rebuilt.


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

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.