Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Oracle 神谕CTXCAT索引和变音_Oracle - Fatal编程技术网

Oracle 神谕CTXCAT索引和变音

Oracle 神谕CTXCAT索引和变音,oracle,Oracle,是否可以使用CTXCAT索引获得以下条件返回true pát = pat 我已经使用最小配置创建了索引 CREATE INDEX indexname ON table(column) INDEXTYPE IS CTXCAT; 而且它没有拾取单词pát where catsearch(Name,'pát',null) >0 你在制作索引之前试过这个吗 begin ctx_ddl.create_preference ('MY_LEX','BASIC_LEXER'); ctx_d

是否可以使用CTXCAT索引获得以下条件返回true

pát = pat
我已经使用最小配置创建了索引

CREATE INDEX indexname ON table(column) INDEXTYPE IS CTXCAT;
而且它没有拾取单词
pát

 where catsearch(Name,'pát',null) >0

你在制作索引之前试过这个吗

begin
  ctx_ddl.create_preference ('MY_LEX','BASIC_LEXER');
  ctx_ddl.set_attribute ('MY_LEX','BASE_LETTER','YES');
end;
/
创建索引

CREATE INDEX My_Index ON MyTable (my_column)
INDEXTYPE IS CTXSYS.CTXCAT
PARAMETERS ('Lexer MY_LEX
             ...
             ')

PS:至少添加您正在使用的Oracle版本

我们正在使用Oracle 10和11。你能解释一下你在那里做了什么吗?在Oracle文档中搜索Lexer。您可以大量配置Oracle文本