[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

search mechanism

John Snelson jsnelson at sleepycat.com
Thu Apr 6 18:50:09 PDT 2006

xml search mechanism
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 Snelson, Berkeley DB XML Engineer
Sleepycat Software, Inc

Contracted to Sleepycat through Parthenon Computing Ltd


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.