MarkLogic 9 Product Documentation
xdmp.forestState

xdmp.forestState(
   forestID as (Number|String)
) as Sequence

Summary

Returns state of the forests

Parameters
forestID ID of the forest.

Required Privileges

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

Example

  xdmp.forestState(xdmp.forest("Documents"));
  => open
Powered by MarkLogic Server | Terms of Use | Privacy Policy