us
functions are really handy for this.
From:
general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>
[mailto:general-boun...@developer.marklogic.com] On Behalf Of RAVINDER MAAN
Sent: Sunday, June 21, 2015 6:21 AM
To: general@developer.marklogic.com<mailto:genera
eral-boun...@developer.marklogic.com] On Behalf Of RAVINDER MAAN
Sent: Sunday, June 21, 2015 6:21 AM
To: general@developer.marklogic.com
Subject: [MarkLogic Dev General] Search and update
Hi all
I have a update job which search for documents matching criteria and then
insert or delete a node in the matching doc
Hi all
I have a update job which search for documents matching criteria and then
insert or delete a node in the matching docs. I know that if search and
update is in same transaction it causes lock problems. So search return URI
of the docs and in second request I do fn:doc and node insert or repl