Loading TOC...

MarkLogic 10 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

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.