<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/xdmp.forestRestart.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>xdmp.forestRestart</api:function-name><api:suggest>xdmp.forestrestart</api:suggest><api:suggest>xdmp</api:suggest><api:suggest>forestrestart</api:suggest><api:function-link mode="xquery" fullname="xdmp:forest-restart">/apidoc/8.0/xdmp:forest-restart.xml</api:function-link><api:function mode="javascript" name="forestRestart" type="builtin" lib="xdmp" category="AdminBuiltins" hidden="false" bucket="MarkLogic Built-In Functions" prefix="xdmp" namespace="http://marklogic.com/xdmp" fullname="xdmp.forestRestart"><api:summary>
  Restarts a forest. If multiple forest IDs are specified, the restarts
  occur in parallel.
</api:summary><api:params><api:param name="forestIDs" type="xs:unsignedLong*"><api:param-description>
    A forest ID.
  </api:param-description><api:param-name>forestIDs</api:param-name><api:param-type>String[]</api:param-type></api:param></api:params><api:return>null</api:return><api:privilege>
  <p xmlns="http://www.w3.org/1999/xhtml"><code>http://marklogic.com/xdmp/privileges/xdmp-forest-restart</code></p>
</api:privilege><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
xdmp.forestRestart([11183608861595735720,29382837261839278]);
</pre></api:example><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
xdmp.forestRestart(xdmp.databaseForests(xdmp.database("My-Database")));
=&gt; Restarts all of the forests in the database named My-Database
</pre></api:example></api:function></api:function-page>