Loading TOC...

MarkLogic Server 11.0 Product Documentation
xdmp:merge-cancel

xdmp:merge-cancel(
   $forest-ID as xs:unsignedLong,
   $merge-ID as xs:unsignedLong
) as empty-sequence()

Summary

Cancel the merge with the specified merge ID on a forest with the specified forest ID.

Parameters
forest-ID A forest ID.
merge-ID A merge ID, which is available from the output of xdmp:forest-status .

Required Privileges

http://marklogic.com/xdmp/privileges/request-my-requests or http://marklogic.com/xdmp/privileges/request-any-requests

Usage Notes

To cancel a merge on a database, find all of the forests in the database and use xdmp:merge-cancel on each forest.

Example

xdmp:merge-cancel(98394839084390843,3838938902783)
=> ()

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.