Creating Text Index Fails with DRG-10700: preference does not exist: {preference_name} (Doc ID 1375536.1)

Last updated on MARCH 13, 2017

Applies to:

Oracle Text - Version 9.2.0.1 to 11.2.0.4 [Release 9.2 to 11.2]
Oracle Text - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]
Information in this document applies to any platform.
***Checked for relevance on 15-Apr-2013***

Symptoms

Creating a Text index fails with ORA-29855, ORA-20000, DRG-10700.  The main error here is the DRG-10700: preference does not exist: <some_preference_name>, see below for an example:

SQL> connect <user>/<password>
Connected.

SQL> create index mixed_case_idx on mixed_case_tbl ( docs )
  indextype is ctxsys.context
  parameters ( 'LEXER MIXED_CASE_LEXER_PREF' );
create index mixed_case_idx on mixed_case_tbl ( docs )
*
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10700: preference does not exist: MIXED_CASE_LEXER_PREF
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 365

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