Loading TOC...

MarkLogic Server 11.0 Product Documentation
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

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