MarkLogic 12 EA 1 Product Documentation
xdmp:forest

xdmp:forest(
   $name as xs:string
) as xs:unsignedLong

Summary

Returns the ID of the forest specified as the parameter. Throws XDMP-NOSUCHFOREST if no forest exists for the specified name.

Parameters
name The name of the forest.

Example

xdmp:forest("myForest")
=> 15495681647217162987
Powered by MarkLogic Server | Terms of Use | Privacy Policy