xdmp:forest-state

xdmp:forest-state(
   $forestID as xs:unsignedLong
) as xs:string*

Summary

Returns state of the forests

Parameters
forestID ID of the forest.

Required Privileges

http://marklogic.com/xdmp/privileges/status

Example

  xdmp:forest-state(xdmp:forest("Documents"))
  => open
Powered by MarkLogic Server | Terms of Use | Privacy Policy