xdmp:range-partition-forests( $value as xs:anyAtomicType ) as xs:unsignedLong*
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"). |
xdmp:range-partition-forests(xs:date("2013-01-01")) => 17618760155059123769, 71876760154452113797
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.