xdmp.forests() as Sequence
Returns a sequence of the IDs of all the forests in the system.
xdmp.forests(); => A Sequence with the IDs of all the forests, for example: 18263538320779601865 2760886727871312968 1551965607977434000 2714941248661564752
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.