Loading TOC...

cts.andNotQueryNegativeQuery

cts.andNotQueryNegativeQuery(
   $query as cts.andNotQuery
) as cts.query

Summary

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

Parameters
$query A query.

Example

var query = cts.andNotQuery(
                 cts.wordQuery("wanted"),
                 cts.wordQuery("unwanted"));
cts.andNotQueryNegativeQuery(query);

  => cts.wordQuery("unwanted", ["lang=en"], 1)

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy