Loading TOC...

MarkLogic 9 Product Documentation
xdmp.mergeCancel

xdmp.mergeCancel(
   forest-ID as (Number|String),
   merge-ID as (Number|String)
) as null

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.forestStatus.

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.mergeCancel on each forest.

Example

xdmp.mergeCancel(98394839084390843,3838938902783)
=> ()

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