MarkLogic Server 11.0 Product Documentation
xdmp.hostGroupxdmp.hostGroup(
[ID as (Number|String)]
) as (Number|String)
Summary
Returns the ID of the group that the specified host belongs to.
Example
xdmp.hostGroup(15495681647217162987);
=> "9876543211234"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.