Hi Vedavalli, cts:contains and fn:contains are not the same function. cts:contains is word matching (including stemming etc) and fn:contains is, as defined in the standard, substring matching.
I don't know of any code review checklist. Nuno On Mon, Feb 28, 2011 at 10:46 AM, Vedavalli Radhika <[email protected]>wrote: > Hi, > > Are there any Marklogic XQuery optimization checklist or standards > available? > > Apart from the "Query Performance and Tuning Guide" provided by > Marklogic, is there any optimization hints readily available that can > be used as a code review checklist? > > I would require one in the performance tuning/optimization perspective. > > For example: Few items can be 1. Use cts:contains() instead of > contains() 2. Avoid XPath reverse axes etc., > > Thanks, > Radhika. > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general >
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
