[MarkLogic Dev General] Moving documents from one forest to another

Whitby, Rob, CMG Rob.Whitby at currentmedicinegroup.com
Mon Nov 2 03:33:55 PST 2009


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




More information about the General mailing list