一个oracle棘手问题
我想使用oracle的internedia进行全文检索,在oracle中做了如下设置,但总是查不到数据。请问有谁知道问题出在哪里? <BR>1) <BR> create table test_doc(test_id char(1), doc blob); <BR> <BR>2) <BR> 往上述表中装入数据,其中blob数据通过plsql developer装入。 <BR> <BR>3) <BR>begin <BR>ctx_ddl.create_preference('test_lexer', 'CHINESE_VGRAM_LEXER'); <BR>end; <BR> <BR>4) <BR>create index idx_test_doc on test_doc(doc) <BR>indextype is ctxsys.context <BR>parameters ('DATASTORE CTXSYS.DIRECT_DATASTORE <BR>FILTER CTXSYS.INSO_FILTER <BR>LEXER shwxd.test_lexer'); <BR> <BR>5) <BR>select title from test_doc <BR>where contains(doc,'中文',1)>0;<BR><BR>无任何结果,望高手指点.......<BR>页:
[1]
