
xdmp.forestRestart( forestIDs as (Number|String)[] ) as null
Restarts a forest. If multiple forest IDs are specified, the restarts occur in parallel.
| Parameters | |
|---|---|
| forestIDs | A forest ID. |
http://marklogic.com/xdmp/privileges/xdmp-forest-restart
http://marklogic.com/xdmp/privileges/xdmp-forest-restart/forest/{id}
http://marklogic.com/xdmp/privileges/xdmp-forest-restart/database/{id}
xdmp.forestRestart([11183608861595735720,29382837261839278]);
xdmp.forestRestart(xdmp.databaseForests(xdmp.database("My-Database")));
=> Restarts all of the forests in the database named My-Database
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.