xdmp.clusterName( [id as (Number|String)] ) as String
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. |
xdmp.clusterName(); => "San Francisco"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.