Loading TOC...

MarkLogic 12 EA 1 Product Documentation
xdmp.hosts

xdmp.hosts() as Sequence

Summary

Returns a sequence of the IDs of all the hosts in the cluster.

Example

xdmp.hosts()
=> 18263538320779601865
   2760886727871312968
   1551965607977434000
   2714941248661564752

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