MarkLogic 12 EA 1 Product Documentation
xdmp:host-forests

xdmp:host-forests(
   $ID as xs:unsignedLong
) as xs:unsignedLong*

Summary

Returns a sequence of forest IDs in the specified host.

Parameters
ID A host ID.

Example

xdmp:host-forests(xdmp:group-hosts(xdmp:group("Default")))
=> (8456374036761185098, 10615125154705099114)
Powered by MarkLogic Server | Terms of Use | Privacy Policy