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"))
Powered by MarkLogic Server | Terms of Use | Privacy Policy