MarkLogic Server 11.0 Product Documentation
xdmp.databaseIsRebalancerEnable

xdmp.databaseIsRebalancerEnable(
   databaseId as String
) as Boolean

Summary

This function returns the rebalancer enable setting for the specified database.

Parameters
databaseId The ID of the database.

Example

var dbId := xdmp.database("myDatabase");
xdmp.databaseIsRebalancerEnable(dbId)
// returns the rebalancer enable setting
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy