Loading TOC...

cts:range-query-index

cts:range-query-index(
   $query as cts:range-query
) as xs:QName*

Summary

Returns the range index used to construct the specified query.

Parameters
query A range query.

Example

let $query := cts:range-query(cts:element-reference(xs:QName("date")), "<=",
      xs:date("2000-01-01"))
return
cts:range-query-index($query)
  => cts:element-reference(xs:QName("date"))

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