MarkLogic 9 Product Documentation
xdmp.groupTaskServer

xdmp.groupTaskServer(
   [groupID as (Number|String)]
) as Sequence

Summary

Returns the ID of the Task Server belonging to the group with the given ID. If no parameter is specified, it uses the group of the current host.

Parameters
groupID The ID of the group. The default value is the ID of the group to which the current host belongs.

Example

xdmp.groupTaskServer(xdmp.group("Default"));
=> 2714941248661564752
Powered by MarkLogic Server | Terms of Use | Privacy Policy