Oracle全文检索步骤
来源:互联网 发布:黑道圣徒3御姐捏脸数据 编辑:程序博客网 时间:2024/04/29 08:29
alter user ctxsys account unlock; //解锁
grant execute on ctx_ddl to testuser; //赋权限
exec ctx_ddl.create_preference ('my_lexer', 'chinese_vgram_lexer');//创建分析器
create index YU_TEST_INDEX on YU_TEST(name) indextype is CTXSYS.CONTEXT parameters('lexer my_lexer')//对表创建索引
exec ctx_ddl.sync_index('yu_test_index') //索引同步
exec ctx_ddl.optimize_index('yu_test_index','full') //索引优化
select * from YU_TEST where contains(name,'重庆')>0; //查询
grant execute on ctx_ddl to testuser; //赋权限
exec ctx_ddl.create_preference ('my_lexer', 'chinese_vgram_lexer');//创建分析器
create index YU_TEST_INDEX on YU_TEST(name) indextype is CTXSYS.CONTEXT parameters('lexer my_lexer')//对表创建索引
exec ctx_ddl.sync_index('yu_test_index') //索引同步
exec ctx_ddl.optimize_index('yu_test_index','full') //索引优化
select * from YU_TEST where contains(name,'重庆')>0; //查询
0 0
- Oracle全文检索步骤
- oracle全文检索步骤
- Oracle 全文检索 中文检索
- Oracle Text 全文检索
- oracle 全文检索
- Oracle 全文检索功能
- oracle 全文检索
- Oracle 全文检索设置
- oracle全文检索
- oracle 全文检索实践
- oracle 全文检索
- oracle 全文检索
- oracle 全文检索实践
- oracle 全文检索实践
- oracle 全文检索实践 .
- oracle 全文检索实践
- oracle全文检索
- oracle全文检索
- C语言的三种整型数据类型:int、short int和long int
- 针对项目中同步队列死锁的解决方案
- jquery:serilize使用方法
- quick-x 状态机模式
- Android长按Power键弹出关机Dialog框GlobalActions解析
- Oracle全文检索步骤
- Two Sum
- iostream输入输出流互相绑定问题
- Java中equals()与hashCode()的原理与设计
- iso 获得UIColor中RGB各个元素的值
- 男孩应该具备的十个品质
- Spring4.x+Hibernate4.x整合
- ORA-04031
- Oracle中SQL语句学习五(统计分组语句group by和having)