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 Databases in the left tree menu. A list of databases appears.

  2. Click your target database.

  3. Click the Reindex button on the Database page.

    A confirmation message displays.

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