xdmp:host-forests
xdmp:host-forests(
$ID as xs:unsignedLong
) as xs:unsignedLong*
Summary
Returns a sequence of forest IDs in the specified host.
Example
xdmp:host-forests(xdmp:group-hosts(xdmp:group("Default")))
=> (8456374036761185098, 10615125154705099114)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.