"DRG-50901: text query parser syntax error on line %(1)s, column %(2)s" When Using Text Operator "PT" in Search String (Doc ID 460867.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Text - Version 9.2.0.1 to 12.1.0.2 [Release 9.2 to 12.1]
Information in this document applies to any platform.
***Checked for relevance on 14-Dec-2012***


Symptoms

Executing a text query using 'PT' as the search string we get the ORA-29902, DRG-50901 error:

create table a
(id number primary key, text varchar2(60));

insert into a
values (1,'Simple creation of a text index to test the Oracle Text installation');

commit;

create index a_idx on a(text) indextype is ctxsys.context;

SELECT 1
FROM a
WHERE CONTAINS(a.text, 'PT') > 0;
SELECT 1
*
ERROR at line 1:
ORA-29902: error in executing ODCIIndexStart() routine
ORA-20000: Oracle Text error:
DRG-50901: text query parser syntax error on line 1, column 3

Cause

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