MarkLogic 10 Product Documentation
xdmp:range-partition-forests

xdmp:range-partition-forests(
   $value as xs:anyAtomicType
) as xs:unsignedLong*

Summary

Given a value, the function returns a list of forests that have ranges the value falls into. This function reports an error if the context database doesn't have the range assignment policy configured.

Parameters
value The value, for example, xs:date("2013-01-01").

Example

xdmp:range-partition-forests(xs:date("2013-01-01"))
=> 17618760155059123769, 71876760154452113797
Powered by MarkLogic Server | Terms of Use | Privacy Policy