how to create CTXRULE index for chinese? [message #76121] |
Mon, 13 September 2004 03:06 |
tommy
Messages: 22 Registered: July 2000
|
Junior Member |
|
|
Hi all,
I want to create CTXRULE index for chinese. I have changed the default lexer to chinese lexer:
BEGIN
CTX_DDL.CREATE_PREFERENCE('CHINESE_LEXER','CHINESE_VGRAM_LEXER');
END;
BEGIN
CTX_ADM.SET_PARAMETER('DEFAULT_LEXER','CHINESE_LEXER');
END;
I then created a CONTEXT index and it worked well. When I tried to create a CTXRULE index:
CREATE INDEX TEST_CAT_IDX ON TEST_CAT (QUERY)
INDEXTYPE IS CTXSYS.CTXRULE;
the following error occured:
ORA-29855: excuting ODCIINDEXCREATE routine error
ORA-20000: Oracle Text error:
DRG-00100: internal error, arguments : [[50601]],[[drlz.c]],[[1006]],[[]],[[]]
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.RULEINDEXMETHODS", line 154
My character set is "SIMPLIFIED CHINESE_CHINA.ZHS16GBK".
Appreciate for any help.
|
|
|