admin.forestGetRangePolicyUpperBound( config as element(configuration), forest-id as (Number|String) ) as Item?
This function returns the upper bound of the range configured on the forest.
Parameters | |
---|---|
config | A configuration specification, typically as returned from one of the Admin module functions. |
forest-id | The ID of the forest. |
http://marklogic.com/xdmp/privileges/admin/forest
http://marklogic.com/xdmp/privileges/admin/forest/{id}
const admin = require('/MarkLogic/admin.xqy'); var config = admin.getConfiguration() var forestid = admin.forestGetId(config, "myForest") admin.forestGetRangePolicyUpperBound(config, forestid)