Skip to main content

Administrating MarkLogic Server

Reindexing a Database

You can reindex all of the document data in the database using the Admin Interface. As described in Text Indexing, text indexing accelerates the performance of a certain queries and is periodically done automatically in the background by MarkLogic Server. The reindex operation sets the reindexer timestamp to the current system timestamp, which causes a reindex and refragment operation on all fragments in the database that have a timestamp equal to or less than the timestamp (assuming reindexer enable is set to true). The Reindex button forces a complete reindex/refragment operation on the database.

To reindex the database, follow these steps:

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

  2. Decide which database you want to reindex.

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

    The Database Configuration page displays.

  4. Click the Reindex button on the Database Configuration page.

    A confirmation message displays.

  5. Confirm that you want to reindex this database and click OK.

Reindexing data in a database is a “hot” admin task; the changes take effect immediately.