MarkLogic Server 11.0 Product Documentation
cts:not-in-query-positive-query

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

Summary

Returns the positive (first 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-positive-query($query)

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