我的ORACLE版本是10.2.0.3
IMP导入数据时出现
IMP-00017: following statement failed with ORACLE error 29855:
"CREATE INDEX "ACTION_NDX3" ON "ACTION" ("DESCRIPTION" ) INDEXTYPE IS "CTXS"
"YS"."CONTEXT" PARAMETERS ('lexer global_lexer language column LANGCODE')"
IMP-00003: ORACLE error 29855 encountered
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10502: index ACTION_NDX3 does not exist
DRG-13201: KOREAN_LEXER is desupported
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 364
GOOGLE查到说用korean_morph_lexer替换korean_lexer
我之前的语句:
call ctx_ddl.drop_preference('korean_lexer')
;
call ctx_ddl.create_preference('korean_lexer','korean_lexer')
;
call ctx_ddl.add_sub_lexer('global_lexer','korean','korean_lexer',null)
;
复制代码
在maxtest/maxtest下执行的时候报:
call ctx_ddl.create_preference('korean_lexer','korean_lexer')
*
ERROR at line 1:
ORA-20000: Oracle Text error:
DRG-10703: invalid framework object korean_lexer
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.CTX_DDL", line 26
复制代码
call ctx_ddl.add_sub_lexer('global_lexer','korean','korean_lexer',null)
*
ERROR at line 1:
ORA-20000: Oracle Text error:
DRG-10700: preference does not exist: korean_lexer
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.DRIMLX", line 123
ORA-06512: at "CTXSYS.CTX_DDL", line 396
ORA-06512: at line 1
复制代码
把korean_lexer替换成korean_morph_lexer之后在maxtest下执行以上语句OK,但在导入数据的时候就会报开头的错误。请问谁曾经遇到过这种问题啊。欢迎各位大侠指点迷津
--转自