我的运行环境是win2000 pro,NLS_lang:zhs16gbk

解决方案 »

  1.   

    首先检查数据库中是否有CTXSYS用户和CTXAPP脚色。如果没有这个用户和角色,意味着你的数据库创建时未安装intermedia功能。你必须修改数据库以安装这项功能。
      

  2.   

    这个问题说过多少扁了,我也忘了我贴过多少次方法了,如果真的想解决这个问题,建议,一去看看以前的贴子(自己找),二,看看oracle document CD中关于intermedia部分,我都是从那个文档上找的方法,一步步做出来的,内容很多,我还是很久以前做的,要让我一步步说出来,现在还真有困难,总之,强烈建议自己看书
    小问题小技巧可以问,这么大的主题,如果自己没有一点基础的话,靠网友回答太难了,相信我,回家看书去吧。
      

  3.   

    参考一下。
    http://www.itpub.net/showthread.php?s=&threadid=25259&highlight=%B5%B9%D0%F2%CB%F7%D2%FD
      

  4.   

    不是没看文档,看了很多,照作了,无效。
    要对BFILE字段索引,我已说过,索引建立起了,主要是找不到索引词。如果是BLOB字段就不存在这样的问题了
    看过好多技术文章,但都没对BFILE进行专门介绍的,yuaiwu???你用过Bfile的索引??
      

  5.   

    CTXAPP Role
    The CTXAPP role is a system-defined role that enables users to do the following: create and delete interMedia Text preferences use the interMedia Text PL/SQL packages Any user can create an interMedia Text index and issue a Text query. The CTXAPP role allows users create preferences and use the PL/SQL packages. 
    ------------------------------------------------------------------
    Supported Column Types
    By default, the system expects your documents to be loaded in a text column. Your text column can be VARCHAR2, CLOB, BLOB, CHAR or BFILE. 
    --------------------------------------------------------------------------------
    Note: 
    Storing data in the deprecated column types of LONG and LONG RAW is supported only for migrating Oracle7 systems to Oracle8. The column types NCLOB, DATE and NUMBER cannot be indexed. 
    对于楼上问题不存版本问题,能建blob建立词索引,应该可以BFILE建立词索引,请问楼主,bfile存了什么数据?
      

  6.   

    我用的就是bfile,没用过blob,处理word及excel
      

  7.   

    如果是BFile,你用的应该不是InterMidia,
    如果有InterMedia相关资料,建议使用InterMidia,处理.
    涉及抽象数据类型,Oracle的'安装目录下有例子.如果有数据库高手,你可以用Java写存储过程,建立自定义的索引.