Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Can InterMedia search for the presence or absence of a tag?
Mike,
I've not attempted what you're trying to do, but have you considered a couple of things? If you've already done this, sorry for stating the obvious, but your examples below don't include all the details.
">" is a reserved character, used for the threshold
comparator.
If you created your XML Section Groups as the Auto_Section_Group type, the InterMedia docs say "Empty tags, processing instructions, and comments are not indexed."
Did you create a Zone Section named publisher?
Just a few thoughts as to why your queries aren't working.
Jack
-----Original Message-----
MONAGHAN,
Mike
Sent: Monday, March 19, 2001 2:50 AM
To: Multiple recipients of list ORACLE-L
of a tag?
We're using InterMedia's XML section indexing
(Oracle8.1.6.3), and mostly it
works fine. However, I think it's indexing technique means
that you:
(i) cannot search for tags, eg contains(doc,'<bold>',1);
(ii) cannot search for documents that have an empty tag (eg
<bold></bold>).
In both cases wildcard expansion doesn't work; for example:
SQLPLUS> select doc from mytable where contains (doc, '%
within
publisher',0)>0;
*
ERROR at line 1:
ORA-29902: error in executing ODCIIndexStart() routine ORA-20000: interMedia Text error: DRG-50937: query too complex DRG-51030: wildcard query expansion resulted in too manyterms
Does anyone know of a way to do either (i) or (ii).
Many thanks, Mike Monaghan
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Jack C. Applewhite INET: japplewhite_at_inetprofit.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Mon Mar 19 2001 - 09:32:18 CST
![]() |
![]() |