xdmp.rangePartitionForests

xdmp.rangePartitionForests(
   value as xs.anyAtomicType
) as Sequence

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.rangePartitionForests(xs.date("2013-01-01"));
=> 17618760155059123769, 71876760154452113797
Powered by MarkLogic Server | Terms of Use | Privacy Policy