[xquery-talk] search mechanism

Peter Mueller Peter.Mueller10 at gmx.de
Thu Apr 6 20:23:15 PDT 2006


Hello Wolfgang,

sorry, but I didn't see this soon enough to put my question into the
previous post!

> Michael Kay wrote:
> >>  	for $id1doc in //text//abstract[contains(.,'Peter')]
> > 
> > 
> > Do be aware that path expressions involving multiple "//" operators can
> be
> > very expensive. This depends on the implementation of course, but it's
> > likely to be much better to spell the path out explicitly if you can.
> 
> Unless you evaluate XQuery using indexes, in which case the less 
> explicit paths, and the more "//" operators that you use, the better.
> 
> John

Am I mistaken if I think that for eXist the latter is true?

Thanks again,
Peter



-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail


More information about the talk mailing list