Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Need some help with CTXXPATH index + EXISTSNODE
Hi,
Oracle 9i Release 2 on Windows ....
I have created a table w/ a XMLTYPE column and created a CTXXPATH index accordingly.
My queries are of the style --
SELECT * from mytable
WHERE EXISTSNODE(xmldata, '//DocumentId[.="835"]',
'xmlns="http://myurl"') = 1
When I use a namespace in the existsnode fragment, Oracle never seems uses the index -- leaving it out eliminates the issue.
Am I precluded from indexed searches when using a namespace?
Thanks!
Jim Received on Thu Feb 05 2004 - 09:24:13 CST