MarkLogic 12 EA 1 Product Documentation
xdmp:cluster

xdmp:cluster(
   [$name as xs:string]
) as xs:unsignedLong

Summary

Returns the ID of the cluster named in the parameter. Returns the ID of the current cluster if no parameter is specified.

Parameters
name The name of the cluster. The default value is the name of the current cluster.

Example

xdmp:cluster()
=> 15495681647217162987
Powered by MarkLogic Server | Terms of Use | Privacy Policy