Loading TOC...

MarkLogic 12 EA 2 Product Documentation
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

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