Clearing a Forest
- Last Updated: April 14, 2026
- 1 minute read
- MarkLogic Server
- Version 10.0
- Documentation
You can clear the document data from a forest using the Admin Interface. Clearing a forest removes all fragments from the forest, but does not remove its configuration information.
To clear all data from a forest, follow these steps:
-
Click the Forests icon on the left tree menu.
-
Decide which forest you want to clear.
-
Click the forest name, either on the tree menu or the summary page.
The Forest Configuration page appears.
-
Click the Clear button on the Forest Configuration page.
A confirmation message appears.
-
Confirm that you want to clear the document data from this forest and click OK.
Clearing data in a forest is a “hot” admin task; the changes take effect immediately.