MarkLogic 12 EA 1 Product Documentation
xdmp:cluster-name

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

Summary

Returns the name of the cluster with the specified ID. Returns the name of the current cluster if no ID is specified.

Parameters
id The ID of the cluster. The default value is the ID of the current cluster.

Example

xdmp:cluster-name()
=> "San Francisco"
Powered by MarkLogic Server | Terms of Use | Privacy Policy