Hi Shan,

Unfortunately not. If you are looking for a fast way to update many documents, 
I’d recommend spawning tasks to do batches in parallel. A library like taskbot 
can make it real easy to do this..

Cheers,
Geert

From: 
<[email protected]<mailto:[email protected]>>
 on behalf of Shiv Shankar 
<[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Date: Monday, November 21, 2016 at 4:48 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [MarkLogic Dev General] Update entire collection in one single request

Hi,
Is there a xquery/JavaScript command to update a field in entire collection/all 
documents based on criteria in MarkLogic 8.0.5? I can achieve this with Jsearch 
in loop, but wanted to check if there is any single command?

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

Reply via email to