CTX_DOC [message #398953] |
Mon, 20 April 2009 00:23 |
estola
Messages: 3 Registered: April 2009
|
Junior Member |
|
|
I apologize if this is a stupid question but it has been frustrating me for a long time. I am using the Oracle Text search engine. I need to retrieve a marked up version of a document based on a query, however when I try to run ctx_doc.markup I recieve an Invalid Identifier error. What really confuses me is that I can use ctx_doc.snippet just fine.
Thanks for any help,
Evan
|
|
|
|
Re: CTX_DOC [message #399150 is a reply to message #399117] |
Mon, 20 April 2009 22:40 |
estola
Messages: 3 Registered: April 2009
|
Junior Member |
|
|
It happens whenever I run ctx_doc.markup. The error I recieve is:
Exception in thread "main" java.sql.SQLException: ORA-00904: "CTX_DOC"."MARKUP": invalid identifier
(I am running this from java currently but I receive a similar error when I run it from sqlplus as well)
|
|
|
|
Re: CTX_DOC [message #399157 is a reply to message #399150] |
Mon, 20 April 2009 23:17 |
|
Barbara Boehmer
Messages: 9104 Registered: November 2002 Location: California, USA
|
Senior Member |
|
|
I will take a guess. Since it does not seem to recognize ctx_doc.markup, it is probably a privilege issue. If it works from an anonymous pl/sql block, but not from a stored procedure, then that would confirm it. Procedures do not recognize privileges granted through roles, so you would need execute privileges granted explicity on the ctx_doc package.
[Updated on: Mon, 20 April 2009 23:17] Report message to a moderator
|
|
|