Loading TOC...

MarkLogic 10 Product Documentation
xdmp:forest-failover-info

xdmp:forest-failover-info(
   $id as xs:unsignedLong
) as xs:unsignedLong

Summary

Return a sequence of pair of the forest IDs and host IDs for the failover forests and hosts of the given forest.

Parameters
id A forest ID.

Example

xdmp:forest-failover-info(xdmp:forest("Documents"))
=> (628308917998312873,12928854608961648882)

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.