11g XE:找不到给定的许可证文件
我正在尝试创建一个简单的全文索引,如下所示:
exec ctx_ddl.create_preference('my_own_lexer', 'AUTO_LEXER');
create index myidx ON tbl(name)
INDEXTYPE IS ctxsys.context PARAMETERS ('LEXER my_own_lexer')
出现错误:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10502: index IDX does not exist
DRG-00100: internal error, arguments : [50611],[drli.c],[2743],[License Error:
could not find the given license file:
/u01/app/oracle/product/11.2.0/xe/ctx/data/inxight/lang/license.dat],[]
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366
使用 BASIC_LEXER 而不是 AUTO_LEXER - 正常工作
centOS,Oracle Database 11g Express Edition 版本 11.2.0.2.0 - 64 位 Beta
感谢!
I'm trying to create a simple full-text index like this:
exec ctx_ddl.create_preference('my_own_lexer', 'AUTO_LEXER');
create index myidx ON tbl(name)
INDEXTYPE IS ctxsys.context PARAMETERS ('LEXER my_own_lexer')
Got error:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10502: index IDX does not exist
DRG-00100: internal error, arguments : [50611],[drli.c],[2743],[License Error:
could not find the given license file:
/u01/app/oracle/product/11.2.0/xe/ctx/data/inxight/lang/license.dat],[]
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366
Using BASIC_LEXER instead of AUTO_LEXER - works without errors
centOS, Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Beta
thanx!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Oracle XE 11gR2 是一个测试版产品。但 Express Edition 是一款受限制的产品,缺乏较大产品中包含的一些功能。因此,这可能是一个错误,也可能是设计上的一个功能。许可文档没有明确提及 AUTO_LEXER,如果 Oracle 故意排除它,我们可能会预料到,所以“bug”很可能是这样。
最好的办法是在产品的 OTN 论坛。 XE 团队的成员在那里阅读并回复用户反馈。
Oracle XE 11gR2 is a beta product. But Express Edition is a restricted product, lacking some of the functionality included in the bigger product. So this may be a bug or a feature by design. The licensing documentation doesn't explicitly mention AUTO_LEXER, which we might expect if Oracle had deliberately excluded it, so "bug" is quite likely.
The best thing to do is raise this question on the OTN forum for the product. Members of the XE team read and respond to user feedback there.