Hi Manoj,

Use xdmp:spawn() function.


Regards,

Asit Nautiyal


________________________________
From: [email protected] 
<[email protected]> on behalf of Manoj 
<[email protected]>
Sent: Wednesday, May 4, 2016 7:07 PM
To: General MarkLogic Developer Discussion
Subject: [MarkLogic Dev General] Need to copy more thatn 10k files in single 
transaction

Hi All,
   I need to copy more than 10k files from one directory to another after 
updating certain parts of the files in a single transaction(with ability to 
rollback in case of any failure). What is the best way to do it.
When I was trying for larger set of file using xdmp:invoke with isolation as 
'same-statement' I faced timeouts in marklogic


Thanks & Regards
Manoj
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to