MarkLogic 12 EA 1 Product Documentation
xdmp:forest-failover-info

xdmp:forest-failover-info(
   $id as xs:unsignedLong
) as xs:unsignedLong

Summary

Return a sequence of pair of the forest IDs and host IDs for the failover forests and hosts of the given forest.

Parameters
id A forest ID.

Example

xdmp:forest-failover-info(xdmp:forest("Documents"))
=> (628308917998312873,12928854608961648882)
Powered by MarkLogic Server | Terms of Use | Privacy Policy