Error DRG-10758 When Creating Text Index Using File or URL Datastore (Doc ID 1081227.1)

Last updated on OCTOBER 28, 2016

Applies to:

Oracle Text - Version 11.2.0.1 to 12.1.0.2 [Release 11.2 to 12.1]
Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]
Information in this document applies to any platform.

Symptoms

When trying to creating a Text index using a file or URL datastore, it may fail with error
DRG-10758: index owner does not have the privilege to use file or URL datastore

begin
  ctx_ddl.create_preference('COMMON_DIR','FILE_DATASTORE');
end;
/

create index doc_index on documents (filename)
indextype is ctxsys.context
parameters ('DATASTORE COMMON_DIR');
*
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10758: index owner does not have the privilege to use file or URL datastore
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366



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