MarkLogic 10 Product Documentation
dls.startUpgrade

dls.startUpgrade() as null

Summary

Upgrades a previous version DLS Database to the current format. After upgrading MarkLogic to a new major version, if the DLS database is incompatible with the current version you need to either enable compatibly mode by calling dls.setUpgradeStatus(false) or by upgrading your database with dls.startUpgrade .

Required Privileges

This function should be run as a user with the 'admin' role.

Example

const dls = require('/MarkLogic/dls');

dls.startUpgrade();
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy