Loading TOC...

MarkLogic 12 EA 2 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

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