
xdmp.groupServers( [groupID as (Number|String)] ) as Sequence
Returns the IDs of all App Servers 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. |
xdmp.groupServers(xdmp.group("Default"));
=> 18263538320779601865
2760886727871312968
2714941248661564752
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.