搜索Oracle CLOB列的最佳方法是什么? [英] What is the best way to search an Oracle CLOB column?

查看:169
本文介绍了搜索Oracle CLOB列的最佳方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要搜索CLOB列,并正在寻找实现此目的的最佳方法,我在线看到了使用DBMS_LOB软件包以及使用称为Oracle Text的变体的方法.有人可以提供一个有关如何执行此操作的快速示例吗?

I need to search a CLOB column and am looking for the best way to do this, I've seen variants online of using the DBMS_LOB package as well as using something called Oracle Text. Can someone provide a quick example of how to do this?

推荐答案

Oracle文本索引是必经之路.您可以使用CONTEXT或CTXRULE索引. CONTEXT可以用于非结构化文档,而CTXRULE对结构化文档更有用.

Oracle Text indexing is the way go. You can use either CONTEXT or CTXRULE index. CONTEXT can be used on unstructured document where CTXRULE is more helpful on structured documents.

链接将提供更多信息,索引类型&句法.

This link will provide more info the index types & syntax.

您需要考虑的最重要因素是LEXER&停止清单.

The most important factor you need to consider is LEXER & STOPLIST.

您还可以阅读asktom.oracle.com上的帖子

You can also read the posts on asktom.oracle.com

http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:5533095920114

这篇关于搜索Oracle CLOB列的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆