Skip to main content

Administrating MarkLogic Server

Clearing a Forest

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:

  1. Click the Forests icon on the left tree menu.

  2. Decide which forest you want to clear.

  3. Click the forest name, either on the tree menu or the summary page.

    The Forest Configuration page displays.

  4. Click the Clear button on the Forest Configuration page.

    A confirmation message displays.

  5. 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.