Creating Text Index Fails with DRG-10700: preference does not exist: {preference_name}
(Doc ID 1375536.1)
Last updated on DECEMBER 31, 2020
Applies to:
Oracle Text - Version 9.2.0.1 to 19.3.0.0.0 [Release 9.2 to 12.2]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.
***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
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
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
Symptoms |
Cause |
Solution |