Hi Andrew, > Would using separate transactions for each of those help?
The number of xdmp:node-replaces you execute in one xquery doesn't matter. All that counts is that the document is being touched. At the end of the execution, MarkLogic Server determines whether a trigger should be fired or not. So in short, less triggers are fired if you do more in one query. I do think it would be better to use a post-commit trigger. Is that the case? Kind regards, Geert drs. G.P.H. (Geert) Josten Consultant Daidalos BV Hoekeindsehof 1-4 2665 JZ Bleiswijk T +31 (0)10 850 1200 F +31 (0)10 850 1199 mailto:[email protected] http://www.daidalos.nl/ KvK 27164984 P Please consider the environment before printing this mail. De informatie - verzonden in of met dit e-mailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend. _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
