MarkLogic Server 11.0 Product Documentation
cts.rangeQueryIndex

cts.rangeQueryIndex(
   query as cts.rangeQuery
) as Sequence

Summary

Returns the range index used to construct the specified query.

Parameters
query A range query.

Example

cts.rangeQueryIndex(
  cts.rangeQuery(cts.elementReference(xs.QName("date")), "<=",
      xs.date("2000-01-01")));
  => cts.elementReference(xs.QName("date"))
Powered by MarkLogic Server | Terms of Use | Privacy Policy