Loading TOC...

MarkLogic 10 Product Documentation
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 :)
  

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.