I just realized I won't have to delete the old docs after an xqsync
because the uris will be the same it will in effect move them. Maybe
that's the best plan after all?

Still would be handy to have something like
xdmp:document-move-forest($uri, $forest-ids)

Rob



-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Whitby,
Rob, CMG
Sent: 02 November 2009 11:34
To: General Mark Logic Developer Discussion
Subject: [MarkLogic Dev General] Moving documents from one forest to
another

Hi

I'm trying to work out the quickest way of moving documents from one
forest to another. In the admin guide it talks about making the existing
forest delete-only and then updating the documents. I was hoping to just
add the docs to a collection to trigger the move, but this function
doesn't take forest-ids so errors. The only functions I see are
document-update and document-load which aren't really suitable. Is there
a trick I'm missing here?

I also considered using xqsync but that seems like a pain because I'd
also have to delete the old documents.

What's the best practice approach? 

Cheers
Rob


_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to