xdmp.cluster

xdmp.cluster(
   [name as String]
) as (Number|String)

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