MarkLogic Server 11.0 Product Documentation
cts:reverse-query-nodes

cts:reverse-query-nodes(
   $query as cts:reverse-query
) as node()*

Summary

Returns the nodes used to construct the specified query.

Parameters
query A query.

Example

let $query := <query>{cts:word-query("hello")}</query>
let $x := <bar>hello</bar>
let $rev := cts:reverse-query($x)
return cts:reverse-query-nodes($rev)

  => <bar>hello</bar>
Powered by MarkLogic Server | Terms of Use | Privacy Policy