Creating a JSON Index Fails with DRG-50850 (Doc ID 2110588.1)

Last updated on AUGUST 16, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

On 12.1.0.2, creating a JSON index fails with the following error:

ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-50850: ORA-06515: PL/SQL: unhandled exception expanded json member name exceeds 64
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366

Statement that fails:

create index Collection_Message_Index on Collection_Owner.Collection_Detail(Collection_Message)
indextype is ctxsys.context
parameters('section group CTXSYS.JSON_SECTION_GROUP SYNC (ON COMMIT)');

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