cts:not-in-query-negative-query

cts:not-in-query-negative-query(
   $query as cts:not-in-query
) as cts:query

Summary

Returns the negative (second parameter) query used to construct the specified query.

Parameters
query A query.

Example

let $query := cts:not-in-query(
                 cts:word-query("wanted"),
                 cts:word-query("not wanted"))
return cts:not-in-query-negative-query($query)

  => cts:word-query("not wanted", (), 1)
Powered by MarkLogic Server | Terms of Use | Privacy Policy