I wrote awhile ago that I thought it was usually best to use search:search for 
full text searching, cts:search for node selection out of the db, and XPath for 
node selection within a document. I just ran into a situation that doing the 
same query for nodes in the DB using cts:search was 6 times faster than using 
XPath. 

So what is it about cts:search that makes it so fast? I assume that there are 
optimizations under the covers, but how is cts:search able to gain from the 
optimizations but XPath is not? Just curious.

-Ryan
                                          
_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to