xdmp:database-is-rebalancer-enable

xdmp:database-is-rebalancer-enable(
   $database-id as xs:unsignedLong
) as xs:boolean

Summary

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

Parameters
$database-id The ID of the database.

Example

xquery version "1.0-ml";
let $dbid := admin:database-get-id($config, "myDatabase")
return
xdmp:database-is-rebalancer-enable($dbid)
(: returns the rebalancer enable setting :)
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy