Setting AUTO_LEXER user defined dictionary preferences results in DRG-10704 (Doc ID 1311734.1)

Last updated on APRIL 20, 2011

Applies to:

Oracle Text - Version: 11.1.0.6 to 11.2.0.2 - Release: 11.1 to 11.2
Information in this document applies to any platform.

Symptoms

Specifying User-Defined Dictionary Attributes when creating an AUTO_LEXER preference results in the following errors being generated:

begin
ctx_ddl.create_preference('ucm_auto_lexer','auto_lexer');
ctx_ddl.set_attribute('ucm_auto_lexer','base_letter','yes');
ctx_ddl.set_attribute('ucm_auto_lexer','INDEX_STEMS','yes');
ctx_ddl.set_attribute('ucm_auto_lexer','language','italian');
ctx_ddl.set_attribute ('ucm_auto_lexer', 'italian_stemming_dictionary', 'italian_stemming_dictionary.xml');
end;
/

ORA-20000: Oracle Text error:
DRG-10704: preference UCM_AUTO_LEXER does not have an attribute named ITALIAN_STEMMING_DICTIONARY
ORA-06512: in "CTXSYS.DRUE", li­ne 160
ORA-06512: in "CTXSYS.CTX_DDL", line 56
ORA-06512: in line 2

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